From c63c2a9e59ab9f9013a5e0e1f6c443352ce4f20f Mon Sep 17 00:00:00 2001 From: dhewg Date: Sun, 13 Mar 2011 22:56:44 +0100 Subject: ANDROID: Fix texture clear color --- backends/platform/android/texture.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends/platform/android/texture.h') diff --git a/backends/platform/android/texture.h b/backends/platform/android/texture.h index 547051996b..9b41627893 100644 --- a/backends/platform/android/texture.h +++ b/backends/platform/android/texture.h @@ -56,6 +56,7 @@ public: virtual void updateBuffer(GLuint x, GLuint y, GLuint width, GLuint height, const void *buf, int pitch_buf) = 0; virtual void fillBuffer(uint32 color) = 0; + virtual void clearBuffer() = 0; virtual void drawTexture(GLshort x, GLshort y, GLshort w, GLshort h); @@ -179,6 +180,7 @@ public: virtual void updateBuffer(GLuint x, GLuint y, GLuint width, GLuint height, const void *buf, int pitch_buf); virtual void fillBuffer(uint32 color); + virtual void clearBuffer(); virtual void drawTexture(GLshort x, GLshort y, GLshort w, GLshort h); @@ -232,6 +234,7 @@ public: virtual void updateBuffer(GLuint x, GLuint y, GLuint width, GLuint height, const void *buf, int pitch_buf); virtual void fillBuffer(uint32 color); + virtual void clearBuffer(); virtual void drawTexture(GLshort x, GLshort y, GLshort w, GLshort h); @@ -296,6 +299,7 @@ public: virtual void updateBuffer(GLuint x, GLuint y, GLuint width, GLuint height, const void *buf, int pitch_buf); virtual void fillBuffer(uint32 color); + virtual void clearBuffer(); virtual void drawTexture(GLshort x, GLshort y, GLshort w, GLshort h); -- cgit v1.2.3