Skip to content
This repository was archived by the owner on Dec 24, 2024. It is now read-only.

Commit 7105864

Browse files
committed
FIX: [64bits] GLuint <-> void* conversion in fontTTFGL
1 parent 1b84cab commit 7105864

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xbmc/guilib/GUIFontTTFGL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void CGUIFontTTFGL::LastEnd()
232232
glUniformMatrix4fv(modelLoc, 1, GL_FALSE, glMatrixModview.Get());
233233

234234
// Bind the buffer to the OpenGL context's GL_ARRAY_BUFFER binding point
235-
glBindBuffer(GL_ARRAY_BUFFER, (GLuint) m_vertexTrans[i].vertexBuffer->bufferHandle);
235+
glBindBuffer(GL_ARRAY_BUFFER, (GLuint) ((long)(m_vertexTrans[i].vertexBuffer->bufferHandle) & 0xffff));
236236

237237
// Do the actual drawing operation, split into groups of characters no
238238
// larger than the pre-determined size of the element array

0 commit comments

Comments
 (0)