summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-15 14:16:04 -0400
committerLioncash <mathew1800@gmail.com>2014-08-15 14:16:04 -0400
commit7e3d1050f0f25f659dded00a9df787195b47e7b5 (patch)
treebed62c7b2cdf25ae93f65e68be374efc82fcd9f4 /Source/Core
parent32953fd968069a6714600aedad68d52d082e3309 (diff)
OGL: Add static to a function in NativeVertexFormat
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp b/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp
index fab1626554..4207a5a4af 100644
--- a/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp
+++ b/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp
@@ -35,7 +35,7 @@ GLVertexFormat::~GLVertexFormat()
glDeleteVertexArrays(1, &VAO);
}
-inline GLuint VarToGL(VarType t)
+static inline GLuint VarToGL(VarType t)
{
static const GLuint lookup[5] = {
GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_FLOAT