OpenGL: always use texture2d as efb
This commit is contained in:
1 parent
230e12ae8c
commit
e8f23af10b
4 files changed
+31
-39
No files matched your search
@@ -57,14 +57,6 @@ struct XFBSource : public XFBSourceBase
|
||||
const GLuint texture;
|
||||
};
|
||||
|
||||
inline GLenum getFbType()
|
||||
{
|
||||
#ifndef USE_GLES3
|
||||
return GL_TEXTURE_RECTANGLE;
|
||||
#endif
|
||||
return GL_TEXTURE_2D;
|
||||
}
|
||||
|
||||
class FramebufferManager : public FramebufferManagerBase
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in new issue
Block a user