- added a centralized drawer and converted the main geometry drawer to use it.

This commit is contained in:
Christoph Oelckers 2019-09-16 19:35:04 +02:00
parent 2a20eb9287
commit 318009fd69
10 changed files with 105 additions and 4933 deletions

View file

@ -546,12 +546,13 @@ int32_t animvpx_render_frame(animvpx_codec_ctx *codec, double animvpx_aspect)
y = scr_wbyh/vid_wbyh;
}
#endif
glBegin(GL_QUADS);
if (!glinfo.glsl)
glColor3f(1.0, 1.0, 1.0);
glTexCoord2f(0.0,1.0);
glBegin(GL_QUADS);
glTexCoord2f(0.0,1.0);
glVertex3f(-x, -y, 0.0);
glTexCoord2f(0.0,0.0);