mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-29 06:28:30 +00:00
Small tweaks
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
* Basic 3d support for Shapes, Models, Heightmaps and Billboards
|
* Basic 3d support for Shapes, Models, Heightmaps and Billboards
|
||||||
* Powerful math module for Vector and Matrix operations [raymath]
|
* Powerful math module for Vector and Matrix operations [raymath]
|
||||||
* Audio loading and playing with streaming support (WAV and OGG)
|
* Audio loading and playing with streaming support (WAV and OGG)
|
||||||
* Multiplatform support, including Android devices and Raspberry Pi
|
* Multiplatform support, including Android devices, Raspberry Pi and HTML5
|
||||||
*
|
*
|
||||||
* Used external libs:
|
* Used external libs:
|
||||||
* GLFW3 (www.glfw.org) for window/context management and input
|
* GLFW3 (www.glfw.org) for window/context management and input
|
||||||
|
@@ -168,10 +168,6 @@ static Vector3 *tempBuffer;
|
|||||||
static int tempBufferCount = 0;
|
static int tempBufferCount = 0;
|
||||||
static bool useTempBuffer = false;
|
static bool useTempBuffer = false;
|
||||||
|
|
||||||
// White texture useful for plain color polys (required by shader)
|
|
||||||
// NOTE: It's required in shapes and models modules!
|
|
||||||
extern unsigned int whiteTexture;
|
|
||||||
|
|
||||||
// Support for VAOs (OpenGL ES2 could not support VAO extensions)
|
// Support for VAOs (OpenGL ES2 could not support VAO extensions)
|
||||||
static bool vaoSupported = false;
|
static bool vaoSupported = false;
|
||||||
#endif
|
#endif
|
||||||
@@ -185,6 +181,10 @@ static PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArrays;
|
|||||||
static PFNGLISVERTEXARRAYOESPROC glIsVertexArray;
|
static PFNGLISVERTEXARRAYOESPROC glIsVertexArray;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// White texture useful for plain color polys (required by shader)
|
||||||
|
// NOTE: It's required in shapes and models modules!
|
||||||
|
unsigned int whiteTexture;
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
// Module specific Functions Declaration
|
// Module specific Functions Declaration
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user