opengles renderer: added CHECK_GL_ERROR defie for gl debugging

This commit add CHECK_GL_ERROR define to decoders/renderer which enables various
glGetError() calls. Also changed emugen to add glGetError() after every dispatch call (based on
defintion of CHECK_GL_ERROR). Also cleaned some annoying printf's.
This commit is contained in:
Stas Gurtovoy
2011-06-28 12:04:56 +03:00
committed by Guy Zadickario
parent 3034c35701
commit 170eb97393
7 changed files with 48 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ int RenderThread::Main()
long long dt = GetCurrentTimeMS() - stats_t0;
if (dt > 1000) {
float dts = (float)dt / 1000.0f;
printf("Used Bandwidth %5.3f MB/s\n", ((float)stats_totalBytes / dts) / (1024.0f*1024.0f));
//printf("Used Bandwidth %5.3f MB/s\n", ((float)stats_totalBytes / dts) / (1024.0f*1024.0f));
stats_totalBytes = 0;
stats_t0 = GetCurrentTimeMS();
}