/[packages]/cauldron/alienarena/current/SOURCES/alienarena-7.45-no-qglBlitFramebufferEXT.patch
ViewVC logotype

Contents of /cauldron/alienarena/current/SOURCES/alienarena-7.45-no-qglBlitFramebufferEXT.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 64808 - (show annotations) (download)
Sat Mar 5 11:43:51 2011 UTC (11 years, 7 months ago) by tv
File size: 1009 byte(s)
imported package alienarena
1 diff -up alienarena-7.45/source/ref_gl/r_shadowmaps.c.BAD alienarena-7.45/source/ref_gl/r_shadowmaps.c
2 --- alienarena-7.45/source/ref_gl/r_shadowmaps.c.BAD 2010-08-02 14:46:28.251171881 -0400
3 +++ alienarena-7.45/source/ref_gl/r_shadowmaps.c 2010-08-02 14:46:54.482305473 -0400
4 @@ -128,14 +128,14 @@ void generateShadowFBO()
5 //FBO for capturing stencil volumes
6
7 //must check for abilit to blit(Many old ATI drivers do not support)
8 - if(gl_state.hasFBOblit) {
9 - if(!qglBlitFramebufferEXT) {
10 - Com_Printf("qglBlitFramebufferEXT not found...\n");
11 + // if(gl_state.hasFBOblit) {
12 + // if(!qglBlitFramebufferEXT) {
13 + // Com_Printf("qglBlitFramebufferEXT not found...\n");
14 //no point in continuing on
15 - gl_state.hasFBOblit = false;
16 - return;
17 - }
18 - }
19 + // gl_state.hasFBOblit = false;
20 + // return;
21 + // }
22 + // }
23
24 qglBindTexture(GL_TEXTURE_2D, r_colorbuffer->texnum);
25 qglTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, vid.width, vid.height, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0);

  ViewVC Help
Powered by ViewVC 1.1.28