diff options
| author | raysan5 <[email protected]> | 2020-04-13 16:40:04 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-04-13 16:40:04 +0200 |
| commit | 8d51ad567fb2968d4df582bbe71ebd157dde1d85 (patch) | |
| tree | cb0202d07b7c306b33491370fe1614b7b26cd8cd /src/core.c | |
| parent | 32387317bffcd006a0cafa91b8e01e1b0fb65be5 (diff) | |
| download | raylib-8d51ad567fb2968d4df582bbe71ebd157dde1d85.tar.gz raylib-8d51ad567fb2968d4df582bbe71ebd157dde1d85.zip | |
Review UWP project -WIP-
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3149,8 +3149,8 @@ static bool InitGraphicsDevice(int width, int height) } // Get EGL device window size - eglQuerySurface(CORE.Window.device, CORE.Window.surface, EGL_WIDTH, &CORE.Window.screen.width); - eglQuerySurface(CORE.Window.device, CORE.Window.surface, EGL_HEIGHT, &CORE.Window.screen.height); + eglQuerySurface(CORE.Window.device, CORE.Window.surface, EGL_WIDTH, &CORE.Window.display.width); + eglQuerySurface(CORE.Window.device, CORE.Window.surface, EGL_HEIGHT, &CORE.Window.display.height); #endif // PLATFORM_UWP @@ -3263,8 +3263,8 @@ static bool InitGraphicsDevice(int width, int height) else { // Grab the width and height of the surface - //eglQuerySurface(CORE.Window.device, CORE.Window.surface, EGL_WIDTH, &CORE.Window.render.width); - //eglQuerySurface(CORE.Window.device, CORE.Window.surface, EGL_HEIGHT, &CORE.Window.render.height); + CORE.Window.render.width = CORE.Window.display.width; + CORE.Window.render.height = CORE.Window.display.height; TRACELOG(LOG_INFO, "DISPLAY: Device initialized successfully"); TRACELOG(LOG_INFO, " > Display size: %i x %i", CORE.Window.display.width, CORE.Window.display.height); |
