mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +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