clarify
This commit is contained in:
1 parent
bc2ba43c34
commit
1db9b0b885
6 files changed
+9
-3
No files matched your search
@@ -1,6 +1,5 @@
|
||||
#include "raybri.h"
|
||||
#include "raybriAux.h"
|
||||
#include "raybriConst.h"
|
||||
#include "rlgl.h"
|
||||
|
||||
void raybriInit(void) {
|
||||
@@ -8,7 +7,8 @@ void raybriInit(void) {
|
||||
|
||||
// Load OpenGL extensions
|
||||
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);
|
||||
// Background is painted in blue
|
||||
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
|
||||
#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
|
||||
@@ -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