attempt #2 to fix jenkins build error

This commit is contained in:
Niraj Venkat 2015-07-08 15:14:28 -07:00
parent a6ec668b2e
commit 250d2e9e2c
2 changed files with 2 additions and 2 deletions

View file

@ -191,7 +191,7 @@ public:
class GLQuery : public GPUObject {
public:
GLuint _qo = 0;
GLuint64 _result = 0;
GLuint _result = 0;
GLQuery();
~GLQuery();

View file

@ -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();
}
}