mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
Ensure the vertex coord attribute is attribute 0.
It seems mesa still has the bug where non-array attributes don't work when set as attribute 0, and that the allocation order changed sometime since I last tested with mesa. This fixes the black world and flickering alias models on my eeepc.
This commit is contained in:
parent
042d6e5728
commit
a419fb2c92
1 changed files with 5 additions and 5 deletions
|
@ -124,10 +124,10 @@ uniform mat3 norm_mat;
|
|||
uniform vec2 skin_size;
|
||||
uniform float blend;
|
||||
|
||||
attribute vec4 vcolora, vcolorb;
|
||||
attribute vec2 vsta, vstb;
|
||||
attribute vec3 vnormala, vnormalb;
|
||||
attribute vec3 vertexa, vertexb;
|
||||
attribute vec3 vnormala, vnormalb;
|
||||
attribute vec2 vsta, vstb;
|
||||
attribute vec4 vcolora, vcolorb;
|
||||
|
||||
varying vec3 normal;
|
||||
varying vec2 st;
|
||||
|
@ -179,9 +179,9 @@ main (void)
|
|||
uniform mat4 mvp_mat;
|
||||
uniform mat4 sky_mat;
|
||||
|
||||
attribute vec4 vcolor;
|
||||
attribute vec4 tlst;
|
||||
attribute vec4 vertex;
|
||||
attribute vec4 tlst;
|
||||
attribute vec4 vcolor;
|
||||
|
||||
varying vec2 tst;
|
||||
varying vec2 lst;
|
||||
|
|
Loading…
Reference in a new issue