Changeset 4947


Ignore:
Timestamp:
Jan 19, 2015, 5:20:21 PM (10 years ago)
Author:
ldelgass
Message:

use proper texparam call for type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nanovis/trunk/nanovis.cpp

    r4901 r4947  
    147147}
    148148
    149 void 
     149void
    150150NanoVis::eventuallyRedraw()
    151151{
     
    405405    glGenTextures(1, &_finalColorTex);
    406406    glBindTexture(GL_TEXTURE_2D, _finalColorTex);
    407     glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
    408     glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
     407    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
     408    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
    409409#if defined(HAVE_FLOAT_TEXTURES) && defined(USE_HALF_FLOAT)
    410410    glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA16F_ARB, winWidth, winHeight, 0,
Note: See TracChangeset for help on using the changeset viewer.