Browse Source

REVIEWED: VS2017.UWP project

It seems there is some problem on drawing... :(
pull/1097/head
raysan5 5 years ago
parent
commit
64c23f8477
3 changed files with 5 additions and 5 deletions
  1. +2
    -2
      projects/VS2017.UWP/raylib.App.UWP/App.cpp
  2. +2
    -2
      projects/VS2017.UWP/raylib.App.UWP/BaseApp.h
  3. +1
    -1
      projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj

+ 2
- 2
projects/VS2017.UWP/raylib.App.UWP/App.cpp 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);

+ 2
- 2
projects/VS2017.UWP/raylib.App.UWP/BaseApp.h 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);
}

+ 1
- 1
projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj 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>

Loading…
Cancel
Save