*/}}
Procházet zdrojové kódy

Fix error calls for linux

YimingWu před 1 rokem
rodič
revize
4a8187aa37
2 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 1
      la_kernel.c
  2. 0 1
      la_tns_kernel.c

+ 1 - 1
la_kernel.c

@@ -380,7 +380,7 @@ void la_DestroySystemWindowWin32(laWindow* w) {
 #endif
 
 
-void APIENTRY glDebugOutput(GLenum source, GLenum type, unsigned int id,
+void glDebugOutput(GLenum source, GLenum type, unsigned int id,
     GLenum severity, GLsizei length, const char* message, const void* userParam) {
     // ignore non-significant error/warning codes
     if (id == 131169 || id == 131185 || id == 131218 || id == 131204) return;

+ 0 - 1
la_tns_kernel.c

@@ -2810,7 +2810,6 @@ tnsFontSingleCharacter *tfntFetchCharTextureIDW(uint32_t ch, int UseMono){
         }
     }
 
-    if(ch<128) printf("%c\n", ch);
     glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
     glTexSubImage2D(GL_TEXTURE_2D, 0, fsc->bufferx, fsc->buffery, w, h, GL_RED, GL_UNSIGNED_BYTE, buf);