소스 검색

Corrected issue on RPI

Ray 4 년 전
부모
커밋
68124599e1
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/rlgl.h

+ 1 - 2
src/rlgl.h

@@ -1868,8 +1868,7 @@ void rlLoadExtensions(void *loader)
 
         #if defined(GRAPHICS_API_OPENGL_21)
         if (GLAD_GL_VERSION_2_1) TRACELOG(LOG_INFO, "GL: OpenGL 2.1 profile supported");
-        #endif
-        #if defined(GRAPHICS_API_OPENGL_33)
+        #else
         if (GLAD_GL_VERSION_3_3) TRACELOG(LOG_INFO, "GL: OpenGL 3.3 Core profile supported");
         else TRACELOG(LOG_ERROR, "GL: OpenGL 3.3 Core profile not supported");
         #endif