mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Make internal vertex attribute code less OpenGL-specific.
--HG-- branch : minor
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
// LOVE
|
||||
#include "common/int.h"
|
||||
#include "vertex.h"
|
||||
#include "Resource.h"
|
||||
|
||||
// C
|
||||
#include <cstddef>
|
||||
@@ -32,7 +33,7 @@ namespace love
|
||||
namespace graphics
|
||||
{
|
||||
|
||||
class StreamBuffer
|
||||
class StreamBuffer : public Resource
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -61,8 +62,6 @@ public:
|
||||
|
||||
virtual void nextFrame() {}
|
||||
|
||||
virtual ptrdiff_t getHandle() const = 0;
|
||||
|
||||
protected:
|
||||
|
||||
StreamBuffer(BufferType mode, size_t size);
|
||||
|
||||
Reference in New Issue
Block a user