mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-23 01:34:58 +00:00
Fix build for Win32.
This commit is contained in:
parent
d1db5abb99
commit
ac96bee03d
@ -223,8 +223,11 @@ static void calculate_font_coords(gl_t *gl,
|
|||||||
extern const GLfloat vertexes_flipped[];
|
extern const GLfloat vertexes_flipped[];
|
||||||
extern const GLfloat white_color[];
|
extern const GLfloat white_color[];
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void gl_render_msg_post(gl_t *gl)
|
void gl_render_msg_post(gl_t *gl)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_FREETYPE
|
||||||
// Go back to old rendering path.
|
// Go back to old rendering path.
|
||||||
glTexCoordPointer(2, GL_FLOAT, 0, gl->tex_coords);
|
glTexCoordPointer(2, GL_FLOAT, 0, gl->tex_coords);
|
||||||
glVertexPointer(2, GL_FLOAT, 0, vertexes_flipped);
|
glVertexPointer(2, GL_FLOAT, 0, vertexes_flipped);
|
||||||
@ -233,8 +236,10 @@ void gl_render_msg_post(gl_t *gl)
|
|||||||
|
|
||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
gl_set_projection(gl, true);
|
gl_set_projection(gl, true);
|
||||||
}
|
#else
|
||||||
|
(void)gl;
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
void gl_render_msg(gl_t *gl, const char *msg)
|
void gl_render_msg(gl_t *gl, const char *msg)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user