Merge "gltrace: flush trace buffer on createContext & makeCurrent" into jb-mr1-dev
This commit is contained in:
commit
c21fc05af7
@ -209,6 +209,8 @@ void GLTraceContext::traceGLMessage(GLMessage *msg) {
|
||||
|
||||
GLMessage_Function func = msg->function();
|
||||
if (func == GLMessage::eglSwapBuffers
|
||||
|| func == GLMessage::eglCreateContext
|
||||
|| func == GLMessage::eglMakeCurrent
|
||||
|| func == GLMessage::glDrawArrays
|
||||
|| func == GLMessage::glDrawElements) {
|
||||
mBufferedOutputStream->flush();
|
||||
|
Loading…
Reference in New Issue
Block a user