Ignore:
Timestamp:
Apr 2, 2013, 8:31:43 PM (12 years ago)
Author:
ldelgass
Message:

Remove Nv prefix from shader classes now that they are in nv namespace.

File:
1 edited

Legend:

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

    r3611 r3612  
    4242#include "Camera.h"
    4343#include "LIC.h"
    44 #include "NvShader.h"
     44#include "Shader.h"
    4545#include "OrientationIndicator.h"
    4646#include "PlaneRenderer.h"
     
    461461void cgErrorCallback(void)
    462462{
    463     if (!NvShader::printErrorInfo()) {
     463    if (!Shader::printErrorInfo()) {
    464464        TRACE("Cg error, exiting...");
    465465        exit(1);
     
    536536    ImageLoaderFactory::getInstance()->addLoaderImpl("bmp", new BMPImageLoaderImpl());
    537537
    538     NvShader::initCg();
    539     NvShader::setErrorCallback(cgErrorCallback);
     538    Shader::initCg();
     539    Shader::setErrorCallback(cgErrorCallback);
    540540
    541541    fonts = new Fonts();
Note: See TracChangeset for help on using the changeset viewer.