MYST3: Implemented selection between hardware and software rendering.

Conflicts:
	engines/myst3/gfx_opengl.cpp
This commit is contained in:
Stefano Musumeci 2014-06-21 20:07:28 +02:00
parent 79ddb89ffe
commit 7ea5229ef8
4 changed files with 16 additions and 3 deletions

View file

@ -87,6 +87,10 @@ static const GLfloat faceTextureCoords[] = {
1.0f, 0.0f,
};
Renderer *CreateGfxOpenGL(OSystem *system) {
return new OpenGLRenderer(system);
}
OpenGLRenderer::OpenGLRenderer(OSystem *system) :
BaseRenderer(system),
_nonPowerOfTwoTexSupport(false) {