mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Fix crashes on OpenGL ES (thanks xenthral!)
--HG-- branch : minor
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user