mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
OGL: Add static to a function in NativeVertexFormat
This commit is contained in:
parent
32953fd968
commit
7e3d1050f0
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ GLVertexFormat::~GLVertexFormat()
|
||||||
glDeleteVertexArrays(1, &VAO);
|
glDeleteVertexArrays(1, &VAO);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline GLuint VarToGL(VarType t)
|
static inline GLuint VarToGL(VarType t)
|
||||||
{
|
{
|
||||||
static const GLuint lookup[5] = {
|
static const GLuint lookup[5] = {
|
||||||
GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_FLOAT
|
GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_FLOAT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue