mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-16 23:06:07 +00:00
[split] rcore
, rcore_web
and rcore_desktop
changes (batch 2) (#3334)
* Fix formatting * Reapply commit9d230d7
(#3305) that was missing * Reapplies commits719365f
(#3309) and8a1779b
(#3312) that were missing * Reapply commit5c9cc3f
(#3323) that was missing * Reapply commita2b3b1e
that was missing * Revert commitcef25c6
to fix macro redefined warning * Move rcore.h #include to after config.h to fix macro redefinitions warnings
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#include <time.h> // Required for: time() [Used in InitTimer()]
|
||||
#include <math.h> // Required for: tan() [Used in BeginMode3D()], atan2f() [Used in LoadVrStereoConfig()]
|
||||
|
||||
#define SUPPORT_TRACELOG
|
||||
#include "utils.h" // Required for: TRACELOG() macros
|
||||
|
||||
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
|
||||
@@ -143,9 +142,11 @@ typedef struct CoreData {
|
||||
Size currentFbo; // Current render width and height (depends on active fbo)
|
||||
Size render; // Framebuffer width and height (render area, including black bars if required)
|
||||
Point renderOffset; // Offset from render area (must be divided by 2)
|
||||
Size screenMin; // Screen minimum width and height (for resizable window)
|
||||
Size screenMax; // Screen maximum width and height (for resizable window)
|
||||
Matrix screenScale; // Matrix to scale screen (framebuffer rendering)
|
||||
|
||||
char **dropFilepaths; // Store dropped files paths pointers (provided by GLFW)
|
||||
char **dropFilepaths; // Store dropped files paths pointers (provided by GLFW)
|
||||
unsigned int dropFileCount; // Count dropped files strings
|
||||
|
||||
struct {
|
||||
|
Reference in New Issue
Block a user