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
Merge branch 'master' of git.ucc.asn.au:ipdf/code
[ipdf/code.git]
/
src
/
graphicsbuffer.h
diff --git
a/src/graphicsbuffer.h
b/src/graphicsbuffer.h
index
4665345
..
b102c51
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"
@@
-63,6
+63,7
@@
namespace IPDF
GLuint GetHandle() const { return m_buffer_handle; }
void Bind() const;
GLuint GetHandle() const { return m_buffer_handle; }
void Bind() const;
+ void BindRange(size_t start, size_t size) const;
private:
bool RecreateBuffer(const void *data = NULL);
GLuint m_buffer_handle;
private:
bool RecreateBuffer(const void *data = NULL);
GLuint m_buffer_handle;
UCC
git Repository :: git.ucc.asn.au