2013-06-23 07:49:34 +00:00
|
|
|
#ifndef R_RENDER
|
|
|
|
#define R_RENDER
|
|
|
|
|
2013-06-26 23:01:00 +00:00
|
|
|
#include "basictypes.h"
|
2013-06-23 07:49:34 +00:00
|
|
|
|
|
|
|
struct RenderContext
|
|
|
|
{
|
|
|
|
unsigned int flags;
|
|
|
|
unsigned int maxuniforms;
|
2014-07-30 21:13:16 +00:00
|
|
|
unsigned int maxuniformblock;
|
2014-08-01 18:59:39 +00:00
|
|
|
unsigned int uniformblockalignment;
|
2014-05-11 11:27:51 +00:00
|
|
|
float glslversion;
|
2013-06-23 07:49:34 +00:00
|
|
|
int max_texturesize;
|
|
|
|
char * vendorstring;
|
2018-07-21 17:14:11 +00:00
|
|
|
char * modelstring;
|
2013-06-23 07:49:34 +00:00
|
|
|
};
|
|
|
|
|
2013-09-03 16:29:39 +00:00
|
|
|
extern RenderContext gl;
|
2013-06-23 07:49:34 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|