소스 검색

glIsEnabled(GL_TEXTURE_3D) was wrong

tags/mesa_3_1_beta_3
Brian Paul 27 년 전
부모
커밋
65b5e1e3fd
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      src/mesa/main/enable.c

+ 2
- 2
src/mesa/main/enable.c 파일 보기

@@ -1,4 +1,4 @@
/* $Id: enable.c,v 1.1 1999/08/19 00:55:41 jtg Exp $ */
/* $Id: enable.c,v 1.2 1999/08/19 13:24:27 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -603,7 +603,7 @@ GLboolean gl_IsEnabled( GLcontext* ctx, GLenum cap )
case GL_TEXTURE_3D:
{
const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[ctx->Texture.CurrentUnit];
return (texUnit->Enabled & TEXTURE0_2D) ? GL_TRUE : GL_FALSE;
return (texUnit->Enabled & TEXTURE0_3D) ? GL_TRUE : GL_FALSE;
}
case GL_TEXTURE_GEN_Q:
{

Loading…
취소
저장