REVIEWED: VS2017.UWP project

It seems there is some problem on drawing... :(
This commit is contained in:
raysan5 2020-02-10 17:45:50 +01:00
parent 49145e90a2
commit 64c23f8477
3 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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);
}

View File

@ -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>