2018-05-13 23:12:30 +00:00
|
|
|
#ifndef __SHADER_PLATFORM_H
|
|
|
|
#define __SHADER_PLATFORM_H
|
|
|
|
|
2018-05-14 22:19:55 +00:00
|
|
|
#include "port.h"
|
|
|
|
|
2018-05-13 23:12:30 +00:00
|
|
|
#ifdef SNES9X_GTK
|
|
|
|
#include <epoxy/gl.h>
|
|
|
|
#include <epoxy/glx.h>
|
|
|
|
#endif
|
|
|
|
|
2018-05-14 22:19:55 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stdlib.h>
|
2018-05-20 17:48:38 +00:00
|
|
|
#include "gl_core_3_1.h"
|
|
|
|
#include <direct.h>
|
2018-05-14 22:19:55 +00:00
|
|
|
|
|
|
|
#define chdir(dir) _chdir(dir)
|
|
|
|
#define realpath(src, resolved) _fullpath(resolved, src, PATH_MAX)
|
2018-05-20 17:48:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-14 22:19:55 +00:00
|
|
|
#endif
|
|
|
|
|
2018-05-13 23:12:30 +00:00
|
|
|
#endif /* __SHADER_PLATFORM_H */
|