From 1cdb440b77f262685e8fb1789652eda77abe7424 Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 28 May 2015 17:23:06 +0200 Subject: [PATCH] glReadPixels *is* available on OpenGL ES --- components/sdlutil/sdlcursormanager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/components/sdlutil/sdlcursormanager.cpp b/components/sdlutil/sdlcursormanager.cpp index 2befc7bd0..1c5008f7a 100644 --- a/components/sdlutil/sdlcursormanager.cpp +++ b/components/sdlutil/sdlcursormanager.cpp @@ -119,7 +119,6 @@ namespace osg::ref_ptr geom = osg::createTexturedQuadGeometry(osg::Vec3(-1,-1,0), osg::Vec3(2,0,0), osg::Vec3(0,2,0)); geom->drawImplementation(renderInfo); - // TODO: implement for GL ES glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, resultImage->data()); geom->releaseGLObjects();