Merge pull request #3715 from wwylele/hardware-vertex-vector

gl_rasterizer: Use GLvec* instead of C arrays
This commit is contained in:
Weiyi Wang 2018-05-06 07:19:06 +03:00 committed by GitHub
commit f85e71c37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,14 +104,14 @@ private:
}
}
GLfloat position[4];
GLfloat color[4];
GLfloat tex_coord0[2];
GLfloat tex_coord1[2];
GLfloat tex_coord2[2];
GLvec4 position;
GLvec4 color;
GLvec2 tex_coord0;
GLvec2 tex_coord1;
GLvec2 tex_coord2;
GLfloat tex_coord0_w;
GLfloat normquat[4];
GLfloat view[3];
GLvec4 normquat;
GLvec3 view;
};
/// Syncs entire status to match PICA registers