View Single Post
  #11  
Old 08-31-2015, 10:20 PM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

binary\OpenGL.lua, line 368, try changing this:
Code:
	lib.glTexImage2D(GL.TEXTURE_2D, 0, GL.BGRA, width, height, 0, GL.BGRA, GL.UNSIGNED_BYTE, data)
to this:
Code:
	lib.glTexImage2D(GL.TEXTURE_2D, 0, 0x1908, width, height, 0, GL.BGRA, GL.UNSIGNED_BYTE, data)
BGRA isn't valid there, my driver probably just assumes it's always RGBA (0x1908 ).
Reply With Quote