Bläddra i källkod

* Made the OpenGL colors slightly less saturated.

tags/v0.99.beta14
Sam Hocevar sam 19 år sedan
förälder
incheckning
30d6a92464
1 ändrade filer med 9 tillägg och 8 borttagningar
  1. +9
    -8
      caca/driver_gl.c

+ 9
- 8
caca/driver_gl.c Visa fil

@@ -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();


Laddar…
Avbryt
Spara