CS Lab machines have met their nemesis
[ipdf/code.git] / src / graphicsbuffer.h
index 3dbb6fb..fd89771 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _GRAPHICSBUFFER_H
 #define _GRAPHICSBUFFER_H
 
-#include <SDL.h>
+#include "SDL.h"
 #include "gl_core44.h"
 
 
@@ -21,7 +21,7 @@ namespace IPDF
                        BufferTypePixelUnpack,
                        BufferTypeUniform,              // Uniform/Constant buffer
                        BufferTypeTexture,              // I was hoping to avoid this one.
-                       BufferTypeDrawIndirect,
+                       BufferTypeDrawIndirect
                };
                
                enum BufferUsage
@@ -64,7 +64,7 @@ namespace IPDF
                
                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;

UCC git Repository :: git.ucc.asn.au