Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 106539
Collapse All | Expand All

(-)src/drivers/pc/sdl-opengl.c (-3 / +3 lines)
Lines 65-74 Link Here
65
 p_glBindTexture(GL_TEXTURE_2D, textures[0]);
65
 p_glBindTexture(GL_TEXTURE_2D, textures[0]);
66
 if(HiBuffer)
66
 if(HiBuffer)
67
 {
67
 {
68
  static int xo=0;
68
//  static int xo=0;
69
  xo=(xo+1)&3;
69
//  xo=(xo+1)&3;
70
  Blit8ToHigh(buf,(uint8*)HiBuffer,256,240,256*4,1,1);
70
  Blit8ToHigh(buf,(uint8*)HiBuffer,256,240,256*4,1,1);
71
  if(!xo)
71
//  if(!xo)
72
  p_glTexImage2D(GL_TEXTURE_2D,0,GL_RGBA8,256,256, 0, GL_RGBA,GL_UNSIGNED_BYTE,
72
  p_glTexImage2D(GL_TEXTURE_2D,0,GL_RGBA8,256,256, 0, GL_RGBA,GL_UNSIGNED_BYTE,
73
			HiBuffer);
73
			HiBuffer);
74
 }
74
 }

Return to bug 106539