ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
Macros | Functions
glfuncs.cpp File Reference
#include "glfuncs.h"
#include "glfunclist.h"

Macros

#define GL_FUNC(ret, func, params)   ptr##func o##func=0;
 
#define GL_FUNC_OPTIONAL(ret, func, params)   ptr##func o##func=0;
 
#define GL_FUNC(ret, func, params)
 
#define GL_FUNC_OPTIONAL(ret, func, params)
 

Functions

int init_glfuncs ()
 

Macro Definition Documentation

#define GL_FUNC (   ret,
  func,
  params 
)    ptr##func o##func=0;
#define GL_FUNC (   ret,
  func,
  params 
)
Value:
do { \
o##func = ( ptr##func ) SDL_GL_GetProcAddress(#func); \
if ( ! o##func ) { \
printf("Unable to load GL function %s\n", #func); \
return(1); \
} \
} while ( 0 );
#define GL_FUNC_OPTIONAL (   ret,
  func,
  params 
)    ptr##func o##func=0;
#define GL_FUNC_OPTIONAL (   ret,
  func,
  params 
)
Value:
do { \
o##func = ( ptr##func ) SDL_GL_GetProcAddress(#func); \
} while ( 0 );

Function Documentation

int init_glfuncs ( )

Referenced by VideoGL::init().