Initial commit.
This commit is contained in:
17
code/unix/unix_glw.h
Normal file
17
code/unix/unix_glw.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef __linux__
|
||||
#error You shouldnt be including this file on non-Linux platforms
|
||||
#endif
|
||||
|
||||
#ifndef __GLW_LINUX_H__
|
||||
#define __GLW_LINUX_H__
|
||||
|
||||
typedef struct
|
||||
{
|
||||
void *OpenGLLib; // instance of OpenGL library
|
||||
|
||||
FILE *log_fp;
|
||||
} glwstate_t;
|
||||
|
||||
extern glwstate_t glw_state;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user