Ignore:
Timestamp:
Jun 18, 2008 5:32:24 PM (12 years ago)
Author:
gah
Message:

fixes to make compile under gcc-4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/Texture3D.cpp

    r1028 r1053  
    6161
    6262    glBindTexture(GL_TEXTURE_3D, id);
    63     assert(id!=-1);
     63    assert(id != (GLuint)-1);
    6464
    6565    glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
     
    129129    glGenTextures(1, &id);
    130130    glBindTexture(GL_TEXTURE_3D, id);
    131     assert(id!=-1);
     131    assert(id != (GLuint)-1);
    132132
    133133    glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
Note: See TracChangeset for help on using the changeset viewer.