|  | @@ -384,7 +384,7 @@ void la_glDebugOutput(GLenum source, GLenum type, unsigned int id,
 | 
	
		
			
				|  |  |      // ignore non-significant error/warning codes
 | 
	
		
			
				|  |  |      if (id==131169 || id==131185 || id==131218 || id==131204 || id==131076) return;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    printf("GL %d: %s\n", id, message);
 | 
	
		
			
				|  |  | +    logPrint("GL %d: %s\n", id, message);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      char* strsource="",*strtype="",*strseverity="";
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -415,7 +415,7 @@ void la_glDebugOutput(GLenum source, GLenum type, unsigned int id,
 | 
	
		
			
				|  |  |      case GL_DEBUG_SEVERITY_LOW:          strseverity = "Low"; break;
 | 
	
		
			
				|  |  |      case GL_DEBUG_SEVERITY_NOTIFICATION: strseverity = "Notification"; break;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | -    printf("%s | %s | %s\n\n", strsource,strtype,strseverity);
 | 
	
		
			
				|  |  | +    logPrint("%s | %s | %s\n\n", strsource,strtype,strseverity);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  void la_SetCurrentGLContextDebug(){
 | 
	
	
		
			
				|  | @@ -1368,7 +1368,7 @@ void la_MakeSpecialKeyBit(SYSWINDOW hwnd,laWindow*wnd,laEvent *e,int use_last_po
 | 
	
		
			
				|  |  |      laEvent* last_e=el->pLast;
 | 
	
		
			
				|  |  |      SYSWINDOW root_ret, win_ret; int rrx=0,rry=0,rx=e->x,ry=e->y,rmask=0;
 | 
	
		
			
				|  |  |  #ifdef __linux__
 | 
	
		
			
				|  |  | -    //XQueryPointer(MAIN.dpy, wnd->win, &root_ret,&win_ret,&rrx,&rry,&rx,&ry,&rmask);
 | 
	
		
			
				|  |  | +    XQueryPointer(MAIN.dpy, wnd->win, &root_ret,&win_ret,&rrx,&rry,&rx,&ry,&rmask);
 | 
	
		
			
				|  |  |      e->SpecialKeyBit = ((rmask&ShiftMask)?LA_KEY_SHIFT:0)|((rmask&ControlMask)?LA_KEY_CTRL:0)|((rmask&Mod1Mask)?LA_KEY_ALT:0);
 | 
	
		
			
				|  |  |  #endif
 | 
	
		
			
				|  |  |  #ifdef _WIN32
 |