pica_to_gl: Add GLuvec{2,3,4} aliases

To allow for transfer for integers into shaders.
This commit is contained in:
MerryMage 2017-12-27 13:10:15 +00:00 committed by wwylele
parent 7d8b7d93fc
commit 8186820d16

View file

@ -19,6 +19,10 @@ using GLvec2 = std::array<GLfloat, 2>;
using GLvec3 = std::array<GLfloat, 3>;
using GLvec4 = std::array<GLfloat, 4>;
using GLuvec2 = std::array<GLuint, 2>;
using GLuvec3 = std::array<GLuint, 3>;
using GLuvec4 = std::array<GLuint, 4>;
namespace PicaToGL {
inline GLenum TextureFilterMode(Pica::TexturingRegs::TextureConfig::TextureFilter mode) {