Fraxinus
22.04
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxGLHelpers.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#ifndef CXGLHELPERS_H_
13
#define CXGLHELPERS_H_
14
15
21
//#define GL_TRACE(string) if (vtkgl::StringMarkerGREMEDY) {vtkgl::StringMarkerGREMEDY(0, QString("%1:%2 - %3").arg(__func__).arg(__LINE__).arg(string).toUtf8().constData());}
22
28
#define report_gl_error() really_report_gl_errors(__FILE__, __LINE__, 0)
29
#define report_gl_error_text(text) really_report_gl_errors(__FILE__, __LINE__, text)
30
31
#ifdef WIN32
32
static
void
really_report_gl_errors
(
const
char
*file,
int
line,
const
char
* text ) {}
33
#else
34
void
really_report_gl_errors
(
const
char
*file,
int
line,
const
char
* text );
35
#endif //WIN32
36
41
#endif
/*CXGLHELPERS_H_*/
really_report_gl_errors
void really_report_gl_errors(const char *file, int line, const char *text)
Definition:
cxGLHelpers.cpp:24
CX
source
resource
core
utilities
cxGLHelpers.h
Generated on Wed Sep 7 2022 11:08:58 for Fraxinus by
1.8.11