mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
pixel pack/unpack ImageHeight and SkipImages was not initialized
This commit is contained in:
parent
3c14ec9b55
commit
12cc2bfff7
1 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: context.c,v 1.16 1999/10/19 18:37:02 keithw Exp $ */
|
||||
/* $Id: context.c,v 1.17 1999/10/30 08:22:45 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -1011,14 +1011,18 @@ static void initialize_context( GLcontext *ctx )
|
|||
/* 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->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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue