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]; GLvec4 position;
GLfloat color[4]; GLvec4 color;
GLfloat tex_coord0[2]; GLvec2 tex_coord0;
GLfloat tex_coord1[2]; GLvec2 tex_coord1;
GLfloat tex_coord2[2]; GLvec2 tex_coord2;
GLfloat tex_coord0_w; GLfloat tex_coord0_w;
GLfloat normquat[4]; GLvec4 normquat;
GLfloat view[3]; GLvec3 view;
}; };
/// Syncs entire status to match PICA registers /// Syncs entire status to match PICA registers