summaryrefslogtreecommitdiff
path: root/include/qntan/Qntan.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qntan/Qntan.h')
-rw-r--r--include/qntan/Qntan.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h
index 748e243..cb1bcae 100644
--- a/include/qntan/Qntan.h
+++ b/include/qntan/Qntan.h
@@ -1146,6 +1146,10 @@ struct Qntan_GfxVtx2d {
float x, y;
};
+struct Qntan_GfxVtx4d {
+ float x, y, z, w;
+};
+
struct Qntan_GfxVtx2dColor {
float x, y;
uint32_t rgba8888;
@@ -1162,7 +1166,7 @@ struct Qntan_GfxRenderer {
/* WARN: All around graphics rendering is heavily experimental! Make
* sure you're ready to handle all kind of changes here.
*/
- void (*setScissor)( struct Garbage_Renderer**, int x, int y, int w, int h );
+ void (*setScissor)( struct Qntan_GfxRenderer**, int x, int y, int w, int h );
/**/
void (*triangleStrip2d)( struct Qntan_GfxRenderer**,
struct Qntan_GfxVtx2dColor const*vertices, int vertices_cnt );