diff options
| author | raysan5 <[email protected]> | 2020-02-10 17:45:50 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-02-10 17:45:50 +0100 |
| commit | 64c23f8477d4b785e61f8a0a1ad02bf80469a3a9 (patch) | |
| tree | a19462c58cef7353d224f5f98c3774d1657ae03c /projects | |
| parent | 49145e90a2c82d32c1065a833b1630f1e9a2bbfd (diff) | |
| download | raylib-64c23f8477d4b785e61f8a0a1ad02bf80469a3a9.tar.gz raylib-64c23f8477d4b785e61f8a0a1ad02bf80469a3a9.zip | |
REVIEWED: VS2017.UWP project
It seems there is some problem on drawing... :(
Diffstat (limited to 'projects')
| -rw-r--r-- | projects/VS2017.UWP/raylib.App.UWP/App.cpp | 4 | ||||
| -rw-r--r-- | projects/VS2017.UWP/raylib.App.UWP/BaseApp.h | 4 | ||||
| -rw-r--r-- | projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/projects/VS2017.UWP/raylib.App.UWP/App.cpp b/projects/VS2017.UWP/raylib.App.UWP/App.cpp index b738535f..dd1156a4 100644 --- a/projects/VS2017.UWP/raylib.App.UWP/App.cpp +++ b/projects/VS2017.UWP/raylib.App.UWP/App.cpp @@ -57,9 +57,9 @@ void App::Update() //---------------------------------------------------------------------------------- BeginDrawing(); - ClearBackground(RAYWHITE); + ClearBackground(RED); - DrawRectangle(posX, posY, 400, 100, RED); + DrawRectangle(posX, posY, 400, 100, WHITE); DrawLine(0, 0, GetScreenWidth(), GetScreenHeight(), BLUE); diff --git a/projects/VS2017.UWP/raylib.App.UWP/BaseApp.h b/projects/VS2017.UWP/raylib.App.UWP/BaseApp.h index 4e71ba8a..7f59c3de 100644 --- a/projects/VS2017.UWP/raylib.App.UWP/BaseApp.h +++ b/projects/VS2017.UWP/raylib.App.UWP/BaseApp.h @@ -59,7 +59,7 @@ using namespace Windows::Graphics::Display; using namespace Microsoft::WRL; using namespace Platform; -extern "C" { EGLNativeWindowType uwpWindow; }; +extern "C" { EGLNativeWindowType handle; }; /* TODO list: @@ -117,7 +117,7 @@ public: // The CoreWindow has been created, so EGL can be initialized. - uwpWindow = (EGLNativeWindowType)window; + handle = (EGLNativeWindowType)window; InitWindow(width, height, NULL); } diff --git a/projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj b/projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj index 8296b654..74d78d5f 100644 --- a/projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj +++ b/projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj @@ -64,7 +64,7 @@ </PropertyGroup> <ItemDefinitionGroup Condition="'$(Platform)'=='ARM'"> <Link> - <AdditionalDependencies>mincore.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalDependencies>mincore.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(VCInstallDir)\lib\store\arm;$(VCInstallDir)\lib\arm;$(SolutionDir)\raylib\Debug</AdditionalLibraryDirectories> </Link> </ItemDefinitionGroup> |
