mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-04 14:41:55 +00:00 
			
		
		
		
	[client] egl: fix potential integer underflow
This commit is contained in:
		@@ -303,7 +303,9 @@ bool egl_shaderCompile(EGL_Shader * this, const char * vertex_code,
 | 
			
		||||
 | 
			
		||||
      if (!newLine)
 | 
			
		||||
      {
 | 
			
		||||
        insertPos = i - 1;
 | 
			
		||||
        insertPos = i;
 | 
			
		||||
        if (insertPos > 0)
 | 
			
		||||
          --insertPos;
 | 
			
		||||
        break;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user