Pārlūkot izejas kodu

* Made the OpenGL colors slightly less saturated.

tags/v0.99.beta14
Sam Hocevar sam pirms 19 gadiem
vecāks
revīzija
30d6a92464
1 mainītis faili ar 9 papildinājumiem un 8 dzēšanām
  1. +9
    -8
      caca/driver_gl.c

+ 9
- 8
caca/driver_gl.c Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt