From d6cd1a871208302ddae5b3062655eba2f8fe3f81 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 27 Dec 2017 13:19:45 +0000 Subject: [PATCH] gl_rasterizer: Use GLvec* instead of C arrays --- src/video_core/renderer_opengl/gl_rasterizer.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 02771a1897..fb81824c70 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -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