From 72a2532df569ba91c83a08bc149fb505abc3668a Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Thu, 8 Aug 2013 13:51:28 +0200 Subject: [PATCH] Revert "qv4l2: fix black screen with opengl after capture" This reverts commit 5c1ee0137709ea1091c108ad771cf1a7c5b8a267. --- utils/qv4l2/capture-win-gl.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/utils/qv4l2/capture-win-gl.cpp b/utils/qv4l2/capture-win-gl.cpp index edae60f..bae6569 100644 --- a/utils/qv4l2/capture-win-gl.cpp +++ b/utils/qv4l2/capture-win-gl.cpp @@ -253,12 +253,6 @@ void CaptureWinGLEngine::paintGL() changeShader(); if (m_frameData == NULL) { - glBegin(GL_QUADS); - glTexCoord2f(0.0f, 0.0f); glVertex2f(0.0, 0); - glTexCoord2f(1.0f, 0.0f); glVertex2f(m_frameWidth, 0); - glTexCoord2f(1.0f, 1.0f); glVertex2f(m_frameWidth, m_frameHeight); - glTexCoord2f(0.0f, 1.0f); glVertex2f(0, m_frameHeight); - glEnd(); return; } -- 2.7.4