]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
the beginnings of a cgGL rendering path experiment, does not work yet
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index a832830bb52cebe35b789ddf0fcaf5208a335cc6..ea09fd1e01fa004821a899eb51819350902acf51 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -33,6 +33,7 @@ typedef enum renderpath_e
        RENDERPATH_GL11,
        RENDERPATH_GL13,
        RENDERPATH_GL20,
+       RENDERPATH_CGGL,
 }
 renderpath_t;
 
@@ -96,6 +97,8 @@ typedef struct viddef_s
        int samples;
        qboolean stencil;
 
+       void *cgcontext;
+
        renderpath_t renderpath;
 
        unsigned int texunits;