From b482e26925d8816387211d98cc8ed445a6c55788 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Wed, 31 Dec 2014 19:25:39 +0100 Subject: [PATCH] Small tweaks --- src/raylib.h | 2 +- src/rlgl.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/raylib.h b/src/raylib.h index d5be99908..69966069f 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -14,7 +14,7 @@ * Basic 3d support for Shapes, Models, Heightmaps and Billboards * Powerful math module for Vector and Matrix operations [raymath] * 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: * GLFW3 (www.glfw.org) for window/context management and input diff --git a/src/rlgl.c b/src/rlgl.c index 4f033ad11..6f2027c77 100644 --- a/src/rlgl.c +++ b/src/rlgl.c @@ -168,10 +168,6 @@ static Vector3 *tempBuffer; static int tempBufferCount = 0; 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) static bool vaoSupported = false; #endif @@ -185,6 +181,10 @@ static PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArrays; static PFNGLISVERTEXARRAYOESPROC glIsVertexArray; #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 //----------------------------------------------------------------------------------