… | |
… | |
715 | |
715 | |
716 | if (RETVAL) |
716 | if (RETVAL) |
717 | { |
717 | { |
718 | av_clear (texture_av); |
718 | av_clear (texture_av); |
719 | |
719 | |
720 | SDL_WM_SetCaption ("Crossfire+ Client " VERSION, "Crossfire+"); |
720 | SDL_WM_SetCaption ("Crossfire TRT Client " VERSION, "Crossfire TRT"); |
721 | #define GL_FUNC(ptr,name) gl.name = (ptr)SDL_GL_GetProcAddress ("gl" # name); |
721 | #define GL_FUNC(ptr,name) gl.name = (ptr)SDL_GL_GetProcAddress ("gl" # name); |
722 | #include "glfunc.h" |
722 | #include "glfunc.h" |
723 | #undef GL_FUNC |
723 | #undef GL_FUNC |
724 | } |
724 | } |
725 | } |
725 | } |
… | |
… | |
2549 | const_iv (GL_INTENSITY), |
2549 | const_iv (GL_INTENSITY), |
2550 | const_iv (GL_LUMINANCE), |
2550 | const_iv (GL_LUMINANCE), |
2551 | const_iv (GL_LUMINANCE_ALPHA), |
2551 | const_iv (GL_LUMINANCE_ALPHA), |
2552 | const_iv (GL_FLOAT), |
2552 | const_iv (GL_FLOAT), |
2553 | const_iv (GL_UNSIGNED_INT_8_8_8_8_REV), |
2553 | const_iv (GL_UNSIGNED_INT_8_8_8_8_REV), |
|
|
2554 | const_iv (GL_COMPRESSED_ALPHA_ARB), |
|
|
2555 | const_iv (GL_COMPRESSED_LUMINANCE_ARB), |
|
|
2556 | const_iv (GL_COMPRESSED_LUMINANCE_ALPHA_ARB), |
|
|
2557 | const_iv (GL_COMPRESSED_INTENSITY_ARB), |
|
|
2558 | const_iv (GL_COMPRESSED_RGB_ARB), |
|
|
2559 | const_iv (GL_COMPRESSED_RGBA_ARB), |
2554 | const_iv (GL_COMPILE), |
2560 | const_iv (GL_COMPILE), |
2555 | const_iv (GL_PROXY_TEXTURE_1D), |
2561 | const_iv (GL_PROXY_TEXTURE_1D), |
2556 | const_iv (GL_PROXY_TEXTURE_2D), |
2562 | const_iv (GL_PROXY_TEXTURE_2D), |
2557 | const_iv (GL_TEXTURE_1D), |
2563 | const_iv (GL_TEXTURE_1D), |
2558 | const_iv (GL_TEXTURE_2D), |
2564 | const_iv (GL_TEXTURE_2D), |
… | |
… | |
2614 | |
2620 | |
2615 | texture_av = newAV (); |
2621 | texture_av = newAV (); |
2616 | AvREAL_off (texture_av); |
2622 | AvREAL_off (texture_av); |
2617 | } |
2623 | } |
2618 | |
2624 | |
|
|
2625 | void |
|
|
2626 | disable_GL_EXT_blend_func_separate () |
|
|
2627 | CODE: |
|
|
2628 | gl.BlendFuncSeparate = 0; |
|
|
2629 | gl.BlendFuncSeparateEXT = 0; |
|
|
2630 | |
2619 | char * |
2631 | char * |
2620 | gl_vendor () |
2632 | gl_vendor () |
2621 | CODE: |
2633 | CODE: |
2622 | RETVAL = (char *)glGetString (GL_VENDOR); |
2634 | RETVAL = (char *)glGetString (GL_VENDOR); |
2623 | OUTPUT: |
2635 | OUTPUT: |