Fix crashes on OpenGL ES (thanks xenthral!)

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-06-08 21:10:17 -03:00
parent e03c763215
commit 30a63b6642
4 changed files with 17 additions and 4 deletions
+5
View File
@@ -224,6 +224,11 @@ public:
void setVertexPointers(vertex::CommonFormat format, love::graphics::Buffer *buffer, size_t offset);
void setVertexPointers(vertex::CommonFormat format, love::graphics::Buffer *buffer, size_t stride, size_t offset);
/**
* Wrapper for glClearDepth and glClearDepthf.
**/
void clearDepth(double value);
/**
* Sets the OpenGL rendering viewport to the specified rectangle.
* The y-coordinate starts at the top.