浏览代码

Fixed bug that overrides other flags

This issue prevented enabling MSAA on several platforms
Ray 4 年之前
父节点
当前提交
a3e7664dcf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core.c

+ 1 - 1
src/core.c

@@ -3782,7 +3782,7 @@ static bool InitGraphicsDevice(int width, int height)
 
 #if defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI) || defined(PLATFORM_DRM) || defined(PLATFORM_UWP)
     CORE.Window.fullscreen = true;
-    CORE.Window.flags &= FLAG_FULLSCREEN_MODE;
+    CORE.Window.flags |= FLAG_FULLSCREEN_MODE;
 
 #if defined(PLATFORM_RPI)
     bcm_host_init();