mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-30 10:58:15 +03:00
Merge pull request #74 from kichikuou/gles
Fix text rendering issue in OpenGL ES
This commit is contained in:
+1
-1
@@ -532,7 +532,7 @@ void gfx_init_texture_amap(struct texture *t, int w, int h, uint8_t *amap, SDL_C
|
||||
void gfx_init_texture_rmap(struct texture *t, int w, int h, uint8_t *rmap)
|
||||
{
|
||||
init_texture(t, w, h);
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_RED, w, h, 0, GL_RED, GL_UNSIGNED_BYTE, rmap);
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_R8, w, h, 0, GL_RED, GL_UNSIGNED_BYTE, rmap);
|
||||
}
|
||||
|
||||
void gfx_init_texture_blank(struct texture *t, int w, int h)
|
||||
|
||||
Reference in New Issue
Block a user