mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 19:54:42 +02:00
attempt #2 to fix jenkins build error
This commit is contained in:
parent
a6ec668b2e
commit
250d2e9e2c
2 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ public:
|
|||
class GLQuery : public GPUObject {
|
||||
public:
|
||||
GLuint _qo = 0;
|
||||
GLuint64 _result = 0;
|
||||
GLuint _result = 0;
|
||||
|
||||
GLQuery();
|
||||
~GLQuery();
|
||||
|
|
|
@ -82,7 +82,7 @@ void GLBackend::do_getQuery(Batch& batch, uint32 paramOffset) {
|
|||
auto query = batch._queries.get(batch._params[paramOffset]._uint);
|
||||
GLQuery* glquery = syncGPUObject(*query);
|
||||
if (glquery) {
|
||||
glGetQueryObjectui64v(glquery->_qo, GL_QUERY_RESULT, &glquery->_result);
|
||||
glGetQueryObjectuiv(glquery->_qo, GL_QUERY_RESULT, &glquery->_result);
|
||||
(void)CHECK_GL_ERROR();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue