Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix byte order in osd rasterfont
  • Loading branch information
degasus committed Dec 26, 2012
1 parent 01cdcc8 commit db5f4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp
Expand Up @@ -270,7 +270,7 @@ void RasterFont::printMultilineText(const char *text, double start_x, double sta
glUseProgram(shader_program);

if(color != cached_color) {
glUniform4f(uniform_color_id, ((color>>0)&0xff)/255.f,((color>>8)&0xff)/255.f,((color>>16)&0xff)/255.f,((color>>24)&0xff)/255.f);
glUniform4f(uniform_color_id, ((color>>16)&0xff)/255.f,((color>>8)&0xff)/255.f,((color>>0)&0xff)/255.f,((color>>24)&0xff)/255.f);
cached_color = color;
}

Expand Down

0 comments on commit db5f4c8

Please sign in to comment.