Support iOS for ogs-blue #7
No files matched your search
@@ -1,11 +1,12 @@
|
||||
#include "raybri.h"
|
||||
#include "raybriEGL.h"
|
||||
#include "rlgl.h"
|
||||
#include <stdio.h>
|
||||
|
||||
void raybriInit(void *layer) {
|
||||
//SetTraceLogLevel(LOG_WARNING);
|
||||
|
||||
if (!raybriInitEGL()) {
|
||||
if (!raybriEGLInit()) {
|
||||
raybriLog(stderr, "ERROR Could not initialize EGL")
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <libGLESv2/GLES/gl.h>
|
||||
#include "raybriEGL.h"
|
||||
|
||||
bool raybriInitEGL(void) {
|
||||
bool raybriEGLInit(void) {
|
||||
EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
|
||||
if (display == EGL_NO_DISPLAY) {
|
||||
return false;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#ifndef RAYBRI_EGL_H
|
||||
#define RAYBRI_EGL_H
|
||||
|
||||
bool raybriInitEGL(void);
|
||||
bool raybriEGLInit(void);
|
||||
|
||||
#endif // RAYBRI_EGL_H
|
||||
Reference in new issue
Block a user