mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 15:53:57 +08:00
* fix clock and add Darwin sconstruct * it builds, this changes should be simplifications too * fix boardd build * that's the real type of EGLClientBuffer * remove extra lines * ui needs opencl on phone
22 lines
329 B
C
22 lines
329 B
C
#ifndef COMMON_GLUTIL_H
|
|
#define COMMON_GLUTIL_H
|
|
|
|
#ifdef __APPLE__
|
|
#include <OpenGL/gl3.h>
|
|
#else
|
|
#include <GLES3/gl3.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
GLuint load_shader(GLenum shaderType, const char *src);
|
|
GLuint load_program(const char *vert_src, const char *frag_src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|