diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-06-09 14:25:23 -0600 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-09-21 22:13:51 -0700 |
commit | 533c1dbe7582bdd72f671eef02e085f0c43159e2 (patch) | |
tree | d9341be942429ad5782c9e8ff7bfead8a41326a8 /src/mesa/main/pixel.c | |
parent | c9e5671691289006e9b1152d6ce20200a83010c2 (diff) |
mesa: refactor: new _mesa_init_pixelstore() function
(cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
Diffstat (limited to 'src/mesa/main/pixel.c')
-rw-r--r-- | src/mesa/main/pixel.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c index ee9bdabf53..19b4525cb6 100644 --- a/src/mesa/main/pixel.c +++ b/src/mesa/main/pixel.c @@ -1306,34 +1306,6 @@ _mesa_init_pixel( GLcontext *ctx ) ASSIGN_4V(ctx->Pixel.TextureColorTableScale, 1.0, 1.0, 1.0, 1.0); ASSIGN_4V(ctx->Pixel.TextureColorTableBias, 0.0, 0.0, 0.0, 0.0); - /* Pixel transfer */ - ctx->Pack.Alignment = 4; - ctx->Pack.RowLength = 0; - ctx->Pack.ImageHeight = 0; - ctx->Pack.SkipPixels = 0; - ctx->Pack.SkipRows = 0; - ctx->Pack.SkipImages = 0; - ctx->Pack.SwapBytes = GL_FALSE; - ctx->Pack.LsbFirst = GL_FALSE; - ctx->Pack.ClientStorage = GL_FALSE; - ctx->Pack.Invert = GL_FALSE; -#if FEATURE_EXT_pixel_buffer_object - ctx->Pack.BufferObj = ctx->Array.NullBufferObj; -#endif - ctx->Unpack.Alignment = 4; - ctx->Unpack.RowLength = 0; - ctx->Unpack.ImageHeight = 0; - ctx->Unpack.SkipPixels = 0; - ctx->Unpack.SkipRows = 0; - ctx->Unpack.SkipImages = 0; - ctx->Unpack.SwapBytes = GL_FALSE; - ctx->Unpack.LsbFirst = GL_FALSE; - ctx->Unpack.ClientStorage = GL_FALSE; - ctx->Unpack.Invert = GL_FALSE; -#if FEATURE_EXT_pixel_buffer_object - ctx->Unpack.BufferObj = ctx->Array.NullBufferObj; -#endif - /* * _mesa_unpack_image() returns image data in this format. When we * execute image commands (glDrawPixels(), glTexImage(), etc) from |