diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2021-02-10 03:14:31 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2021-02-10 03:14:31 +0300 |
commit | 1c4ae8a11c820e33da725816d7cccb2668680e51 (patch) | |
tree | a073665ca1d502e12ea90eeba3a9f1064aa01c39 /intern/ghost/test/gears | |
parent | 5bddfde217b1477c02de9dcfa8c078969d432519 (diff) |
UI: Removal of GHOST_CreateDialogWindow
Simplification of window creation code to allow greater flexibility.
Differential Revision: https://developer.blender.org/D10311
Reviewed by Brecht Van Lommel
Diffstat (limited to 'intern/ghost/test/gears')
-rw-r--r-- | intern/ghost/test/gears/GHOST_C-Test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/ghost/test/gears/GHOST_C-Test.c b/intern/ghost/test/gears/GHOST_C-Test.c index 3419f70dfcf..4283f990cfb 100644 --- a/intern/ghost/test/gears/GHOST_C-Test.c +++ b/intern/ghost/test/gears/GHOST_C-Test.c @@ -440,12 +440,14 @@ int main(int argc, char **argv) if (shSystem) { /* Create the main window */ sMainWindow = GHOST_CreateWindow(shSystem, + NULL, title1, 10, 64, 320, 200, GHOST_kWindowStateNormal, + false, GHOST_kDrawingContextTypeOpenGL, glSettings); if (!sMainWindow) { @@ -455,12 +457,14 @@ int main(int argc, char **argv) /* Create a secondary window */ sSecondaryWindow = GHOST_CreateWindow(shSystem, + NULL, title2, 340, 64, 320, 200, GHOST_kWindowStateNormal, + false, GHOST_kDrawingContextTypeOpenGL, glSettings); if (!sSecondaryWindow) { |