mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 13:20:05 +03:00
Suppress sdpy's auto-OpenGL-viewport in PixmapPresenter
This commit is contained in:
parent
2e05986ade
commit
9c4a452bb2
1 changed files with 2 additions and 0 deletions
|
@ -535,6 +535,7 @@ final class OpenGl3PixmapRenderer : PixmapRenderer {
|
|||
|
||||
public void setup(PresenterObjectsContainer* pro) {
|
||||
_poc = pro;
|
||||
_poc.window.suppressAutoOpenglViewport = true;
|
||||
_poc.window.visibleForTheFirstTime = &this.visibleForTheFirstTime;
|
||||
_poc.window.redrawOpenGlScene = &this.redrawOpenGlScene;
|
||||
}
|
||||
|
@ -726,6 +727,7 @@ final class OpenGl1PixmapRenderer : PixmapRenderer {
|
|||
|
||||
public void setup(PresenterObjectsContainer* poc) {
|
||||
_poc = poc;
|
||||
_poc.window.suppressAutoOpenglViewport = true;
|
||||
_poc.window.visibleForTheFirstTime = &this.visibleForTheFirstTime;
|
||||
_poc.window.redrawOpenGlScene = &this.redrawOpenGlScene;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue