mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
OPENGL: Fix Integer to Pointer Cast GCC Compiler Warning
This is emitted when -Wint-to-pointer-cast is passed to GCC.
This commit is contained in:
parent
6b202b4fd2
commit
8ee4251f41
@ -363,7 +363,7 @@ void Shader::enableVertexAttribute(const char *attrib, GLuint vbo, GLint size, G
|
||||
va._type = type;
|
||||
va._normalized = normalized;
|
||||
va._stride = stride;
|
||||
va._pointer = (const void *)offset;
|
||||
va._pointer = (const void *)(long)offset;
|
||||
}
|
||||
|
||||
void Shader::disableVertexAttribute(const char *attrib, int size, const float *data) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user