Commit 875de90f authored by Yoann Lopes's avatar Yoann Lopes Committed by The Qt Project
Browse files

Fix QVideoSurfaceArbFpPainter mistakenly failing to start in some cases.


If an OpenGL error occurred before starting the video painter, it would
fail to do so. This patch simply makes sure the OpenGL error flag is
cleared before checking for GL errors that would occur in
QVideoSurfaceArbFpPainter's code.

Change-Id: I2eacf6db03cb290adf00a9faf11145c7a6ade565
Reviewed-by: default avatarChristian Stromme <christian.stromme@digia.com>
parent 3111178e
Showing with 2 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment