[client] opengl: act on glBufferSubData failure

This commit is contained in:
Geoffrey McRae 2023-11-11 13:02:50 +11:00
parent 852825a97e
commit 417c9cf092

View file

@ -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;