mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
[client] opengl: act on glBufferSubData failure
This commit is contained in:
parent
852825a97e
commit
417c9cf092
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user