Reduce ogs-blue/ver-mac to blue background #6
No files matched your search
@@ -1,6 +1,5 @@
|
|||||||
#include "raybri.h"
|
#include "raybri.h"
|
||||||
#include "raybriAux.h"
|
#include "raybriAux.h"
|
||||||
#include "raybriConst.h"
|
|
||||||
#include "rlgl.h"
|
#include "rlgl.h"
|
||||||
|
|
||||||
void raybriInit(void) {
|
void raybriInit(void) {
|
||||||
@@ -8,7 +7,8 @@ void raybriInit(void) {
|
|||||||
|
|
||||||
// Load OpenGL extensions
|
// Load OpenGL extensions
|
||||||
rlLoadExtensions((void *)raybriGLLoader);
|
rlLoadExtensions((void *)raybriGLLoader);
|
||||||
// Use default 1x1 window size for successful init
|
// Initialize raylib graphics layer with a placeholder 1x1 framebuffer size
|
||||||
|
// Graphics layer includes default texture, shader, render batch and OpenGL state
|
||||||
rlglInit(1, 1);
|
rlglInit(1, 1);
|
||||||
// Background is painted in blue
|
// Background is painted in blue
|
||||||
rlClearColor(0, 0, 255, 255);
|
rlClearColor(0, 0, 255, 255);
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#include "raybriConst.h"
|
||||||
|
|
||||||
|
const char RAYBRI_MAC_GL[] = "/System/Library/Frameworks/OpenGL.framework/OpenGL";
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#ifndef RAYBRI_CONST_H
|
#ifndef RAYBRI_CONST_H
|
||||||
#define RAYBRI_CONST_H
|
#define RAYBRI_CONST_H
|
||||||
|
|
||||||
static const char RAYBRI_MAC_GL[] = "/System/Library/Frameworks/OpenGL.framework/OpenGL";
|
extern const char RAYBRI_MAC_GL[];
|
||||||
|
|
||||||
#endif // RAYBRI_CONST_H
|
#endif // RAYBRI_CONST_H
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../components/raybri/raybriConst.c
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../components/raybri/raybriConst.c
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../components/raybri/raybriConst.c
|
||||||
Reference in new issue
Block a user