mirror of https://github.com/adamdruppe/arsd.git
Suppress sdpy's auto-OpenGL-viewport in PixmapPresenter
This commit is contained in:
parent
2e05986ade
commit
9c4a452bb2
|
@ -535,6 +535,7 @@ final class OpenGl3PixmapRenderer : PixmapRenderer {
|
||||||
|
|
||||||
public void setup(PresenterObjectsContainer* pro) {
|
public void setup(PresenterObjectsContainer* pro) {
|
||||||
_poc = pro;
|
_poc = pro;
|
||||||
|
_poc.window.suppressAutoOpenglViewport = true;
|
||||||
_poc.window.visibleForTheFirstTime = &this.visibleForTheFirstTime;
|
_poc.window.visibleForTheFirstTime = &this.visibleForTheFirstTime;
|
||||||
_poc.window.redrawOpenGlScene = &this.redrawOpenGlScene;
|
_poc.window.redrawOpenGlScene = &this.redrawOpenGlScene;
|
||||||
}
|
}
|
||||||
|
@ -726,6 +727,7 @@ final class OpenGl1PixmapRenderer : PixmapRenderer {
|
||||||
|
|
||||||
public void setup(PresenterObjectsContainer* poc) {
|
public void setup(PresenterObjectsContainer* poc) {
|
||||||
_poc = poc;
|
_poc = poc;
|
||||||
|
_poc.window.suppressAutoOpenglViewport = true;
|
||||||
_poc.window.visibleForTheFirstTime = &this.visibleForTheFirstTime;
|
_poc.window.visibleForTheFirstTime = &this.visibleForTheFirstTime;
|
||||||
_poc.window.redrawOpenGlScene = &this.redrawOpenGlScene;
|
_poc.window.redrawOpenGlScene = &this.redrawOpenGlScene;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue