Provide general purpose Quad in GlobalState
This commit is contained in:
parent
e8a9873125
commit
f89cd2d207
3 changed files with 12 additions and 4 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "eventthread.h"
|
||||
#include "gl-util.h"
|
||||
#include "global-ibo.h"
|
||||
#include "quad.h"
|
||||
#include "binding.h"
|
||||
|
||||
#include <QFile>
|
||||
|
|
@ -80,6 +81,8 @@ struct GlobalStatePrivate
|
|||
|
||||
TexFBO gpTexFBO;
|
||||
|
||||
Quad gpQuad;
|
||||
|
||||
unsigned int stampCounter;
|
||||
|
||||
GlobalStatePrivate(RGSSThreadData *threadData)
|
||||
|
|
@ -180,6 +183,7 @@ GSATT(HueShader&, hueShader)
|
|||
GSATT(BltShader&, bltShader)
|
||||
GSATT(TexPool&, texPool)
|
||||
GSATT(FontPool&, fontPool)
|
||||
GSATT(Quad&, gpQuad)
|
||||
|
||||
void GlobalState::setBindingData(void *data)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue