mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-20 03:44:11 +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
old-commit-hash: f72f78f2b9
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
|