Lines Matching defs:lastError
246 * Gets the last OpenGL error, stores it in a_pContext->lastError and returns
254 #define VMSVGA3D_GET_GL_ERROR(a_pContext) ((a_pContext)->lastError = glGetError())
259 * Will call glGetError() and store the result in a_pContext->lastError.
267 #define VMSVGA3D_GL_IS_SUCCESS(a_pContext) RT_LIKELY((((a_pContext)->lastError = glGetError()) == GL_NO_ERROR))
270 * Complains about one or more OpenGL errors (first in a_pContext->lastError).
275 * All GL errors will be cleared after invocation. Assumes lastError
294 AssertMsgFailed(("first error: %#x (idActiveContext=%#x)\n", (a_pContext)->lastError, (a_pContext)->id)); \
299 LogRelMax(32, ("VMSVGA3d: OpenGL error %#x (idActiveContext=%#x) on line %u ", (a_pContext)->lastError, (a_pContext)->id)); \
406 (pContext)->lastError = glGetError(); \
407 AssertMsgReturn((pContext)->lastError == GL_NO_ERROR, \
408 ("%s (%d): last error 0x%x\n", __FUNCTION__, __LINE__, (pContext)->lastError), \
426 (pContext)->lastError = glGetError(); \
427 AssertMsg((pContext)->lastError == GL_NO_ERROR, ("%s (%d): last error 0x%x\n", __FUNCTION__, __LINE__, (pContext)->lastError)); \
666 GLenum lastError;
719 SSMFIELD_ENTRY( VMSVGA3DCONTEXT, lastError),