git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compiling with Arbint/Gmpint rationals
[ipdf/code.git]
/
src
/
graphicsbuffer.h
diff --git
a/src/graphicsbuffer.h
b/src/graphicsbuffer.h
index
3dbb6fb
..
fd89771
100644
(file)
--- a/
src/graphicsbuffer.h
+++ b/
src/graphicsbuffer.h
@@
-1,7
+1,7
@@
#ifndef _GRAPHICSBUFFER_H
#define _GRAPHICSBUFFER_H
#ifndef _GRAPHICSBUFFER_H
#define _GRAPHICSBUFFER_H
-#include
<SDL.h>
+#include
"SDL.h"
#include "gl_core44.h"
#include "gl_core44.h"
@@
-21,7
+21,7
@@
namespace IPDF
BufferTypePixelUnpack,
BufferTypeUniform, // Uniform/Constant buffer
BufferTypeTexture, // I was hoping to avoid this one.
BufferTypePixelUnpack,
BufferTypeUniform, // Uniform/Constant buffer
BufferTypeTexture, // I was hoping to avoid this one.
- BufferTypeDrawIndirect
,
+ BufferTypeDrawIndirect
};
enum BufferUsage
};
enum BufferUsage
@@
-64,7
+64,7
@@
namespace IPDF
void Bind() const;
private:
void Bind() const;
private:
- bool RecreateBuffer(const void *data =
nullptr
);
+ bool RecreateBuffer(const void *data =
NULL
);
GLuint m_buffer_handle;
BufferType m_buffer_type;
BufferUsage m_buffer_usage;
GLuint m_buffer_handle;
BufferType m_buffer_type;
BufferUsage m_buffer_usage;
UCC
git Repository :: git.ucc.asn.au