mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 17:30:01 +02:00
fixing template bracket issues
This commit is contained in:
parent
99eb46f218
commit
1eb49d3763
2 changed files with 4 additions and 4 deletions
|
@ -243,7 +243,7 @@ public:
|
|||
|
||||
class Vector {
|
||||
public:
|
||||
std::vector<Cache<T>> _pointers;
|
||||
std::vector< Cache<T> > _pointers;
|
||||
|
||||
uint32 cache(const Pointer& pointer) {
|
||||
uint32 offset = _pointers.size();
|
||||
|
@ -277,7 +277,7 @@ public:
|
|||
return (_resources.data() + offset);
|
||||
}
|
||||
|
||||
template < typename T >
|
||||
template <typename T>
|
||||
T* editResourcePointer(uint32 offset) {
|
||||
if (offset >= _resources.size())
|
||||
return 0;
|
||||
|
|
|
@ -178,8 +178,8 @@ void GLBackend::checkGLError() {
|
|||
}
|
||||
}
|
||||
|
||||
//#define CHECK_GL_ERROR() ::gpu::GLBackend::checkGLError()
|
||||
#define CHECK_GL_ERROR()
|
||||
#define CHECK_GL_ERROR() ::gpu::GLBackend::checkGLError()
|
||||
//#define CHECK_GL_ERROR()
|
||||
|
||||
void GLBackend::do_draw(Batch& batch, uint32 paramOffset) {
|
||||
updateInput();
|
||||
|
|
Loading…
Reference in a new issue