Browse Source

better error messages (Leif Delgass)

tags/vtx-0-2-21112003-freeze
Brian Paul 24 years ago
parent
commit
42ad8664f9
2 changed files with 10 additions and 8 deletions
  1. 3
    3
      src/mesa/main/dlist.c
  2. 7
    5
      src/mesa/main/texstate.c

+ 3
- 3
src/mesa/main/dlist.c View File

@@ -1,4 +1,4 @@
/* $Id: dlist.c,v 1.102 2003/01/21 21:47:48 brianp Exp $ */
/* $Id: dlist.c,v 1.103 2003/03/03 15:37:45 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -5083,7 +5083,7 @@ _mesa_CallList( GLuint list )


if (MESA_VERBOSE & VERBOSE_API)
_mesa_debug(ctx, "_mesa_CallList %d\n", list);
_mesa_debug(ctx, "glCallList %d\n", list);

/* mesa_print_display_list( list ); */

@@ -5116,7 +5116,7 @@ _mesa_CallLists( GLsizei n, GLenum type, const GLvoid *lists )
GLboolean save_compile_flag;

if (MESA_VERBOSE & VERBOSE_API)
_mesa_debug(ctx, "_mesa_CallLists %d\n", n);
_mesa_debug(ctx, "glCallLists %d\n", n);

switch (type) {
case GL_BYTE:

+ 7
- 5
src/mesa/main/texstate.c View File

@@ -1,4 +1,4 @@
/* $Id: texstate.c,v 1.94 2003/02/23 04:12:57 brianp Exp $ */
/* $Id: texstate.c,v 1.95 2003/03/03 15:37:41 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -1063,10 +1063,11 @@ _mesa_TexParameterfv( GLenum target, GLenum pname, const GLfloat *params )
ASSERT_OUTSIDE_BEGIN_END(ctx);

if (MESA_VERBOSE&(VERBOSE_API|VERBOSE_TEXTURE))
_mesa_debug(ctx, "texPARAM %s %s %d...\n",
_mesa_debug(ctx, "glTexParameter %s %s %.1f(%s)...\n",
_mesa_lookup_enum_by_nr(target),
_mesa_lookup_enum_by_nr(pname),
eparam);
*params,
_mesa_lookup_enum_by_nr(eparam));


switch (target) {
@@ -1912,10 +1913,11 @@ _mesa_TexGenfv( GLenum coord, GLenum pname, const GLfloat *params )
ASSERT_OUTSIDE_BEGIN_END(ctx);

if (MESA_VERBOSE&(VERBOSE_API|VERBOSE_TEXTURE))
_mesa_debug(ctx, "texGEN %s %s %x...\n",
_mesa_debug(ctx, "glTexGen %s %s %.1f(%s)...\n",
_mesa_lookup_enum_by_nr(coord),
_mesa_lookup_enum_by_nr(pname),
*(int *)params);
*params,
_mesa_lookup_enum_by_nr((GLenum) (GLint) *params));

switch (coord) {
case GL_S:

Loading…
Cancel
Save