aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-15 00:26:36 +0100
committerJohannes Schickel2012-02-15 02:22:37 +0100
commit93435b2e3f2ba79a6f794b0486cb9c0b19e06775 (patch)
tree393a5f50d860d629ac0c9fc75c8fb0faaf9446fb /backends
parent56971f11d1b086fe057e5b658afd318bebb429cc (diff)
downloadscummvm-rg350-93435b2e3f2ba79a6f794b0486cb9c0b19e06775.tar.gz
scummvm-rg350-93435b2e3f2ba79a6f794b0486cb9c0b19e06775.tar.bz2
scummvm-rg350-93435b2e3f2ba79a6f794b0486cb9c0b19e06775.zip
OPENGL: Unvirtualize all GLTexture methods.
Diffstat (limited to 'backends')
-rw-r--r--backends/graphics/opengl/gltexture.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/graphics/opengl/gltexture.h b/backends/graphics/opengl/gltexture.h
index d8c42eeb2d..4fa29383f9 100644
--- a/backends/graphics/opengl/gltexture.h
+++ b/backends/graphics/opengl/gltexture.h
@@ -68,29 +68,29 @@ public:
static void initGLExtensions();
GLTexture(byte bpp, GLenum internalFormat, GLenum format, GLenum type);
- virtual ~GLTexture();
+ ~GLTexture();
/**
* Refresh the texture after a context change. The
* process will be completed on next allocBuffer call.
*/
- virtual void refresh();
+ void refresh();
/**
* Allocates memory needed for the given size.
*/
- virtual void allocBuffer(GLuint width, GLuint height);
+ void allocBuffer(GLuint width, GLuint height);
/**
* Updates the texture pixels.
*/
- virtual void updateBuffer(const void *buf, int pitch, GLuint x, GLuint y,
+ void updateBuffer(const void *buf, int pitch, GLuint x, GLuint y,
GLuint w, GLuint h);
/**
* Draws the texture to the screen buffer.
*/
- virtual void drawTexture(GLshort x, GLshort y, GLshort w, GLshort h);
+ void drawTexture(GLshort x, GLshort y, GLshort w, GLshort h);
/**
* Get the texture width.