瀏覽代碼

Tweak the read format/type slightly so this can use the blitter.

tags/texman_0_1_20060325
Keith Whitwell 20 年之前
父節點
當前提交
ffcc1cdb41
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      progs/tests/pbo.c

+ 2
- 2
progs/tests/pbo.c 查看文件

@@ -32,8 +32,8 @@ static GLboolean Benchmark = GL_FALSE;
static GLuint DrawPBO, TempPBO;


static GLenum ReadFormat = GL_RGBA;
static GLenum ReadType = GL_UNSIGNED_BYTE;
static GLenum ReadFormat = GL_BGRA;
static GLenum ReadType = GL_UNSIGNED_INT_8_8_8_8_REV;




Loading…
取消
儲存