ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.67 by root, Tue Apr 25 11:18:48 2006 UTC vs.
Revision 1.68 by root, Tue Apr 25 11:48:30 2006 UTC

406 SDL_Rect **m; 406 SDL_Rect **m;
407 407
408 SDL_GL_SetAttribute (SDL_GL_RED_SIZE, 5); 408 SDL_GL_SetAttribute (SDL_GL_RED_SIZE, 5);
409 SDL_GL_SetAttribute (SDL_GL_GREEN_SIZE, 5); 409 SDL_GL_SetAttribute (SDL_GL_GREEN_SIZE, 5);
410 SDL_GL_SetAttribute (SDL_GL_BLUE_SIZE, 5); 410 SDL_GL_SetAttribute (SDL_GL_BLUE_SIZE, 5);
411 SDL_GL_SetAttribute (SDL_GL_ALPHA_SIZE, 0); 411 SDL_GL_SetAttribute (SDL_GL_ALPHA_SIZE, 1);
412 412
413 SDL_GL_SetAttribute (SDL_GL_ACCUM_RED_SIZE, 0); 413 SDL_GL_SetAttribute (SDL_GL_ACCUM_RED_SIZE, 0);
414 SDL_GL_SetAttribute (SDL_GL_ACCUM_GREEN_SIZE, 0); 414 SDL_GL_SetAttribute (SDL_GL_ACCUM_GREEN_SIZE, 0);
415 SDL_GL_SetAttribute (SDL_GL_ACCUM_BLUE_SIZE, 0); 415 SDL_GL_SetAttribute (SDL_GL_ACCUM_BLUE_SIZE, 0);
416 SDL_GL_SetAttribute (SDL_GL_ACCUM_ALPHA_SIZE, 0); 416 SDL_GL_SetAttribute (SDL_GL_ACCUM_ALPHA_SIZE, 0);
1420 1420
1421void glBlendFunc (int sfactor, int dfactor) 1421void glBlendFunc (int sfactor, int dfactor)
1422 1422
1423void glLogicOp (int opcode) 1423void glLogicOp (int opcode)
1424 1424
1425void glColorMask (int red, int green, int blue, int alpha)
1426
1425void glMatrixMode (int mode) 1427void glMatrixMode (int mode)
1426 1428
1427void glPushMatrix () 1429void glPushMatrix ()
1428 1430
1429void glPopMatrix () 1431void glPopMatrix ()
1485 1487
1486void glTexImage2D (int target, int level, int internalformat, int width, int height, int border, int format, int type, char *data) 1488void glTexImage2D (int target, int level, int internalformat, int width, int height, int border, int format, int type, char *data)
1487 1489
1488void glCopyTexImage2D (int target, int level, int internalformat, int x, int y, int width, int height, int border) 1490void glCopyTexImage2D (int target, int level, int internalformat, int x, int y, int width, int height, int border)
1489 1491
1492void glRasterPos (int x, int y)
1493 CODE:
1494 glRasterPos2i (x, y);
1495
1496void glCopyPixels (int x, int y, int width, int height, int type = GL_COLOR)
1497
1490int glGenTexture () 1498int glGenTexture ()
1491 CODE: 1499 CODE:
1492{ 1500{
1493 GLuint name; 1501 GLuint name;
1494 glGenTextures (1, &name); 1502 glGenTextures (1, &name);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines