fxMesa->glideContext = FX_grSstWinOpen((FxU32) win, res, ref,
-#if FXMESA_USE_ARGB
+#ifdef FXMESA_USE_ARGB
GR_COLORFORMAT_ARGB,
#else
GR_COLORFORMAT_ABGR,
* Pixel tables are use during pixel read-back
* Either initialize them for RGB or BGR order.
*/
-#if FXMESA_USE_ARGB
+#ifdef FXMESA_USE_ARGB
useBGR = GL_FALSE; /* Force RGB pixel order */
system = "FXMESA_USE_ARGB";
#else
-/* $Id: dlist.c,v 1.67 2001/03/12 00:48:37 gareth Exp $ */
+/* $Id: dlist.c,v 1.68 2001/03/27 16:42:37 brianp Exp $ */
/*
* Mesa 3-D graphics library
static void save_TexImage3D( GLenum target,
- GLint level, GLint internalFormat,
+ GLint level, GLenum internalFormat,
GLsizei width, GLsizei height, GLsizei depth,
GLint border,
GLenum format, GLenum type,
if (n) {
n[1].e = target;
n[2].i = level;
- n[3].i = internalFormat;
+ n[3].i = (GLint) internalFormat;
n[4].i = (GLint) width;
n[5].i = (GLint) height;
n[6].i = (GLint) depth;