diff options
Diffstat (limited to 'src/render/backend/qgraphicscontext_p.h')
-rw-r--r-- | src/render/backend/qgraphicscontext_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/backend/qgraphicscontext_p.h b/src/render/backend/qgraphicscontext_p.h index b2796e72e..33eaff7a3 100644 --- a/src/render/backend/qgraphicscontext_p.h +++ b/src/render/backend/qgraphicscontext_p.h @@ -90,7 +90,7 @@ public: int id() const; // unique, small integer ID of this context - bool beginDrawing(QSurface *surface, const QColor &clearColor); + bool beginDrawing(QSurface *surface, const QColor &color); void clearBackBuffer(QClearBuffer::BufferType buffers); void endDrawing(bool swapBuffers); @@ -178,6 +178,7 @@ public: void enableAlphaCoverage(); void disableAlphaCoverage(); GLuint boundFrameBufferObject(); + void clearColor(const QColor &color); // Helper methods static GLint elementType(GLint type); |