Changeset 3559 for trunk/packages/vizservers/nanovis/Texture1D.cpp
- Timestamp:
- Mar 22, 2013, 7:45:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/Texture1D.cpp
r3502 r3559 76 76 glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_MIN_FILTER, _interpType); 77 77 78 GLuint format[5] = { -1, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_RGBA }; 78 GLuint format[5] = { 79 (unsigned int)-1, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_RGBA 80 }; 79 81 80 82 glTexImage1D(GL_TEXTURE_1D, 0, format[_numComponents], _width, 0,
Note: See TracChangeset
for help on using the changeset viewer.