about summary refs log tree commit diff stats
path: root/src/include/gltools.h
blob: 94a245b092e33b0b026b97e866f7898611aec87c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __GL_TOOLS_H__
#define __GL_TOOLS_H__

typedef struct box64context_s box64context_t;

typedef void* (*glprocaddress_t)(const char* name);

void freeGLProcWrapper(box64context_t* context);

void* getGLProcAddress(x64emu_t* emu, glprocaddress_t procaddr, const char* rname);

#ifdef BOX32
void* getGLProcAddress32(x64emu_t* emu, glprocaddress_t procaddr, const char* rname);
#endif

#endif //__GL_TOOLS_H__