gsdx: tentative fix for 64 bits buildl

This commit is contained in:
Gregory Hainaut 2016-06-26 18:27:50 +02:00
parent 4ec941440d
commit 1f4f55bcc9
1 changed files with 3 additions and 3 deletions

View File

@ -157,8 +157,8 @@ void GSDeviceOGL::GenerateProfilerData()
glGetQueryObjectuiv(m_profiler.timer(), GL_QUERY_RESULT_AVAILABLE, &available); glGetQueryObjectuiv(m_profiler.timer(), GL_QUERY_RESULT_AVAILABLE, &available);
} }
uint64 time_start; GLuint64 time_start;
uint64 time_end; GLuint64 time_end;
std::vector<double> times; std::vector<double> times;
double ms = 0.000001; double ms = 0.000001;
@ -192,7 +192,7 @@ void GSDeviceOGL::GenerateProfilerData()
fprintf(stderr, "Min %4.2f ms\t(%4.2f fps)\n", *minmax_time.first, 1000.0 / *minmax_time.first); fprintf(stderr, "Min %4.2f ms\t(%4.2f fps)\n", *minmax_time.first, 1000.0 / *minmax_time.first);
fprintf(stderr, "Mean %4.2f ms\t(%4.2f fps)\n", mean, 1000.0 / mean); fprintf(stderr, "Mean %4.2f ms\t(%4.2f fps)\n", mean, 1000.0 / mean);
fprintf(stderr, "Max %4.2f ms\t(%4.2f fps)\n", *minmax_time.second, 1000.0 / *minmax_time.second); fprintf(stderr, "Max %4.2f ms\t(%4.2f fps)\n", *minmax_time.second, 1000.0 / *minmax_time.second);
fprintf(stderr, "SD %4.2f ms\t(%4.2f fps)\n", sd, 1000.0 / sd); fprintf(stderr, "SD %4.2f ms\n", sd);
fprintf(stderr, "\n"); fprintf(stderr, "\n");
} }