FREESCAPE: properly set the isAccelerated flag for the OpenGL renderer

This commit is contained in:
neuromancer 2022-12-21 08:51:07 -03:00
parent 03ddc824a7
commit 900a623cea

View File

@ -41,6 +41,7 @@ OpenGLRenderer::OpenGLRenderer(int screenW, int screenH, Common::RenderMode rend
_verts = (Vertex *)malloc(sizeof(Vertex) * kVertexArraySize);
_coords = (Coord *)malloc(sizeof(Coord) * kCoordsArraySize);
_texturePixelFormat = OpenGLTexture::getRGBAPixelFormat();
_isAccelerated = true;
}
OpenGLRenderer::~OpenGLRenderer() {