Browse Source

* Made the OpenGL colors slightly less saturated.

tags/v0.99.beta14
Sam Hocevar sam 19 years ago
parent
commit
30d6a92464
1 changed files with 9 additions and 8 deletions
  1. +9
    -8
      caca/driver_gl.c

+ 9
- 8
caca/driver_gl.c View File

@@ -50,13 +50,13 @@ static GLbyte const gl_bgpal[][4] =
{ 0x3f, 0x3f, 0x00, 0x7f },
{ 0x3f, 0x3f, 0x3f, 0x7f },
// + intensity
{ 0x00, 0x00, 0x00, 0x7f },
{ 0x00, 0x00, 0x7f, 0x7f },
{ 0x00, 0x7f, 0x00, 0x7f },
{ 0x00, 0x7f, 0x7f, 0x7f },
{ 0x7f, 0x00, 0x00, 0x7f },
{ 0x7f, 0x00, 0x7f, 0x7f },
{ 0x7f, 0x7f, 0x00, 0x7f },
{ 0x1f, 0x1f, 0x1f, 0x7f },
{ 0x1f, 0x1f, 0x7f, 0x7f },
{ 0x1f, 0x7f, 0x1f, 0x7f },
{ 0x1f, 0x7f, 0x7f, 0x7f },
{ 0x7f, 0x1f, 0x1f, 0x7f },
{ 0x7f, 0x1f, 0x7f, 0x7f },
{ 0x7f, 0x7f, 0x1f, 0x7f },
{ 0x7f, 0x7f, 0x7f, 0x7f }
};

@@ -272,7 +272,8 @@ static void gl_display(caca_t *kk)
glTexCoord2f(kk->drv.p->sw, kk->drv.p->sh);
glVertex2f(x + kk->drv.p->font_width, y);
glTexCoord2f(kk->drv.p->sw, 0);
glVertex2f(x + kk->drv.p->font_width, y + kk->drv.p->font_height);
glVertex2f(x + kk->drv.p->font_width,
y + kk->drv.p->font_height);
glTexCoord2f(0, 0);
glVertex2f(x, y + kk->drv.p->font_height);
glEnd();


Loading…
Cancel
Save