Pārlūkot izejas kodu

Merge branch 'master' of https://github.com/raysan5/raylib

raysan5 5 gadi atpakaļ
vecāks
revīzija
956f61cf14
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      examples/others/rlgl_standalone.c

+ 1 - 1
examples/others/rlgl_standalone.c

@@ -219,7 +219,7 @@ int main(void)
 // GLFW3: Error callback
 // GLFW3: Error callback
 static void ErrorCallback(int error, const char *description)
 static void ErrorCallback(int error, const char *description)
 {
 {
-    fprintf(stderr, description);
+    fprintf(stderr, "%s", description);
 }
 }
 
 
 // GLFW3: Keyboard callback
 // GLFW3: Keyboard callback