mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] opengl: act on glBufferSubData failure
This commit is contained in:
@@ -1146,7 +1146,9 @@ static bool opengl_bufferFn(void * opaque, const void * data, size_t size)
|
||||
size,
|
||||
data
|
||||
);
|
||||
check_gl_error("glBufferSubData");
|
||||
|
||||
if (check_gl_error("glBufferSubData"))
|
||||
return false;
|
||||
|
||||
this->texPos += size;
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user