mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:52:57 +00:00
[client] opengl: act on glBufferSubData failure
This commit is contained in:
parent
852825a97e
commit
417c9cf092
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue