summaryrefslogtreecommitdiff
path: root/cad/plugins/NanoVision-1/src/Plugins/RenderingEngines/OpenGL/GLT/error.cpp
blob: ccc16bf289bc77541d8dafc835b611fa0f259852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include "glt_error.h"

#include <string>
using namespace std;

//#ifdef GLT_WIN32
//#include <windows.h>
//#endif

/*! \file
    \ingroup GLT
    
    $Id: error.cpp,v 1.2 2002/10/09 15:09:38 nigels Exp $
    
    $Log: error.cpp,v $
    Revision 1.2  2002/10/09 15:09:38  nigels
    Added RCS Id and Log tags


*/        
    
void 
gltError(const std::string &message)
{
	//#ifdef GLT_WIN32
	//MessageBox(NULL,message.c_str(),"Runtime Error",MB_OK | MB_ICONERROR);
	//#endif
	printf("GLT Error: %s\n", message.c_str());
}

void 
gltWarning(const std::string &message)
{
	//#ifdef GLT_WIN32
	//MessageBox(NULL,message.c_str(),"Runtime Warning",MB_OK | MB_ICONWARNING);
	//#endif
	printf("GLT Warning: %s\n", message.c_str());
}