00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _OPENGL_EXCEPTION_H_
00021 #define _OPENGL_EXCEPTION_H_
00022
00023 #include "Exception.h"
00024 #include "OpenglLastError.h"
00025
00026 namespace TestFrameWork
00027 {
00028
00029 class OpenglException :
00030 public Exception
00031 {
00032 public:
00033 OpenglException(const OpenglLastError& lastError, const std::wstring& message = L"");
00034
00035 ~OpenglException(void);
00036 };
00037
00038 void OnGLErrorThrowException(void);
00039
00040 }
00041
00042 #endif