Skip to content
Snippets Groups Projects
Commit 5b653837 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Use correct type in call to glGetQueryObjectui64v

parent e3c4b3c1
No related branches found
No related tags found
No related merge requests found
...@@ -273,10 +273,10 @@ void LLGLSLShader::readProfileQuery(U32 count, U32 mode) ...@@ -273,10 +273,10 @@ void LLGLSLShader::readProfileQuery(U32 count, U32 mode)
glEndQueryARB(GL_TIME_ELAPSED); glEndQueryARB(GL_TIME_ELAPSED);
glEndQueryARB(GL_SAMPLES_PASSED); glEndQueryARB(GL_SAMPLES_PASSED);
U64 time_elapsed = 0; GLuint64 time_elapsed = 0;
glGetQueryObjectui64v(mTimerQuery, GL_QUERY_RESULT, &time_elapsed); glGetQueryObjectui64v(mTimerQuery, GL_QUERY_RESULT, &time_elapsed);
U64 samples_passed = 0; GLuint64 samples_passed = 0;
glGetQueryObjectui64v(mSamplesQuery, GL_QUERY_RESULT, &samples_passed); glGetQueryObjectui64v(mSamplesQuery, GL_QUERY_RESULT, &samples_passed);
sTotalTimeElapsed += time_elapsed; sTotalTimeElapsed += time_elapsed;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment