~amaranth/+junk/nux-pkg

« back to all changes in this revision

Viewing changes to NuxGraphics/IOpenGLVolume.cpp

  • Committer: Didier Roche
  • Date: 2011-07-04 15:30:29 UTC
  • mfrom: (159.101.37 nux)
  • mto: This revision was merged to the branch mainline in revision 251.
  • Revision ID: didier.roche@canonical.com-20110704153029-4es95dij4bif1gwd
Tags: upstream-1.0.4
ImportĀ upstreamĀ versionĀ 1.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 
74
74
 
75
75
    IOpenGLVolumeTexture *texture = _VolumeTexture;
76
 
    OpenGLResourceType ResourceType = RTBASETEXTURE;
77
76
 
78
 
    if (_VolumeTexture->_ResourceType == RTVOLUMETEXTURE)
79
 
    {
80
 
      ResourceType = RTVOLUMETEXTURE;
81
 
    }
82
 
    else
 
77
    if (_VolumeTexture->_ResourceType != RTVOLUMETEXTURE)
83
78
    {
84
79
      nuxAssertMsg (0, TEXT ("Unknown resource type") );
85
80
    }