Pārlūkot izejas kodu

RPI: Corrected issue when creating 3d projection view

pull/951/head
raysan5 pirms 5 gadiem
vecāks
revīzija
ef3b01dffc
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      src/core.c

+ 3
- 3
src/core.c Parādīt failu

@ -2507,9 +2507,6 @@ static bool InitGraphicsDevice(int width, int height)
if (screenHeight <= 0) screenHeight = displayHeight;
#endif // PLATFORM_DESKTOP
currentWidth = screenWidth;
currentHeight = screenHeight;
#if defined(PLATFORM_WEB)
displayWidth = screenWidth;
displayHeight = screenHeight;
@ -3040,6 +3037,9 @@ static bool InitGraphicsDevice(int width, int height)
// Setup default viewport
SetupViewport(fbWidth, fbHeight);
currentWidth = screenWidth;
currentHeight = screenHeight;
ClearBackground(RAYWHITE); // Default background color for raylib games :P
#if defined(PLATFORM_ANDROID)

||||||
x
 
000:0
Notiek ielāde…
Atcelt
Saglabāt