mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-22 03:08:24 +00:00
UWP Support Overhaul (#819)
* Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Tested some desktop stuff and added projection matrix updates for window resizing. * Fixed big bad mouse bug * Fix alt buttons and add hack to combat flickery key presses (far from perfect) * Remove debug code * Final commit * Well, so I thought * Wow, i am bad * Remove packages folder * Remove useless include * Apply requested changes and fix linux build * Try to stop packages folder * Have we fixed the formatting properly? * Third time's the charm? * Where did this come from? * Re-fix * Autoformat is gonna kill * Fixed XBOX ONE Support * Fix tabs
This commit is contained in:
10
src/rlgl.h
10
src/rlgl.h
@@ -999,17 +999,17 @@ void rlMultMatrixf(float *matf)
|
||||
}
|
||||
|
||||
// Multiply the current matrix by a perspective matrix generated by parameters
|
||||
void rlFrustum(double left, double right, double bottom, double top, double near, double far)
|
||||
void rlFrustum(double left, double right, double bottom, double top, double znear, double zfar)
|
||||
{
|
||||
Matrix matPerps = MatrixFrustum(left, right, bottom, top, near, far);
|
||||
Matrix matPerps = MatrixFrustum(left, right, bottom, top, znear, zfar);
|
||||
|
||||
*currentMatrix = MatrixMultiply(*currentMatrix, matPerps);
|
||||
}
|
||||
|
||||
// Multiply the current matrix by an orthographic matrix generated by parameters
|
||||
void rlOrtho(double left, double right, double bottom, double top, double near, double far)
|
||||
void rlOrtho(double left, double right, double bottom, double top, double znear, double zfar)
|
||||
{
|
||||
Matrix matOrtho = MatrixOrtho(left, right, bottom, top, near, far);
|
||||
Matrix matOrtho = MatrixOrtho(left, right, bottom, top, znear, zfar);
|
||||
|
||||
*currentMatrix = MatrixMultiply(*currentMatrix, matOrtho);
|
||||
}
|
||||
@@ -1619,7 +1619,7 @@ void rlglInit(int width, int height)
|
||||
if (strcmp(extList[i], (const char *)"GL_EXT_debug_marker") == 0) debugMarkerSupported = true;
|
||||
}
|
||||
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
#if defined(_WIN32) && defined(_MSC_VER) && !defined(PLATFORM_UWP) //is this a hotfix? I may need to find out why this is broken
|
||||
RL_FREE(extList);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user