single bg color
This commit is contained in:
1 parent
e0f54dde75
commit
56d4b2dd88
4 files changed
+6
-42
No files matched your search
@@ -26,6 +26,9 @@ typedef struct raybri_config {
|
||||
// on iOS it recreates the EGL window surface when it changes.
|
||||
void raybri_resize(int width, int height);
|
||||
|
||||
// Render one frame.
|
||||
void raybri_render(void);
|
||||
|
||||
// Release the GL/EGL resources owned by the bridge.
|
||||
void raybri_shutdown(void);
|
||||
|
||||
@@ -35,10 +38,6 @@ void raybri_shutdown(void);
|
||||
// Returns 1 on success, 0 on failure.
|
||||
int raybri_init(void *layer, int width, int height);
|
||||
|
||||
// Render one frame: clear the drawable to a time-based background colour and
|
||||
// present it. `time` is monotonically increasing seconds.
|
||||
void raybri_render(double time);
|
||||
|
||||
#else
|
||||
|
||||
// Initialise the OpenGL-backed raylib scene (no raylib window is created).
|
||||
@@ -57,9 +56,6 @@ void raybri_load_model(const char *gltf_path);
|
||||
// Cube rotation, driven by the application (Euler angles, degrees).
|
||||
void raybri_set_rotation(float x_deg, float y_deg, float z_deg);
|
||||
|
||||
// Render one frame.
|
||||
void raybri_render(void);
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in new issue
Block a user