search for: gl_color_array

Displaying 2 results from an estimated 2 matches for "gl_color_array".

2014 Aug 10
2
Coordinate systems on on nv10-era cards
Hello, I'm trying to debug why fbo-copyteximage-simple is failing, and I'm... failing. It's an extremely simple test. I'm pretty sure that the copyteximage part of it has nothing to do with the failure, at least it behaves identically when I just return tex instead of copiex_tex. Without any modifications, the test just renders one big red square. I think there's something
2014 Aug 15
0
Coordinate systems on on nv10-era cards
...28 + 128, -0.75*128 + 128, 0.5, 1, 0, 0 }, { 0.6*128 + 128, -0.75*128 + 128, 0, 0, 1, 0 }, { 128, 0.75*128 + 128, 0, 0, 0, 1 }, }; glVertexPointer(3, GL_FLOAT, 24, verts); glColorPointer(3, GL_FLOAT, 24, &verts[0][3]); glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_COLOR_ARRAY); glDrawArrays(GL_TRIANGLES, 0, 3); glDisableClientState(GL_VERTEX_ARRAY); glDisableClientState(GL_COLOR_ARRAY); Then I see the failure. Looking at the pushbuf for where the blit happens (after the draw), for the working case, I'm seeing PB: 0x00002c22 NV17_3D.VTXBUF_FMT[0] = { TYPE...