2023-07-02 19:51:09 +02:00
|
|
|
#ifdef _WIN32
|
|
|
|
# error "GLES3 cannot be tested on WIN32 platforms."
|
|
|
|
#endif
|
|
|
|
#ifdef __APPLE__
|
|
|
|
# error "GLES3 cannot be tested on macOS platform."
|
|
|
|
#else
|
|
|
|
# include <GLES3/gl3.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2024-04-14 22:45:38 +02:00
|
|
|
int main(void)
|
2023-07-02 19:51:09 +02:00
|
|
|
{
|
|
|
|
/* Reference a GL symbol without requiring a context at runtime. */
|
|
|
|
printf("&glGetString = %p\n", &glGetString);
|
|
|
|
return 0;
|
|
|
|
}
|