REVIEWED: VS2017.UWP project
It seems there is some problem on drawing... :(
This commit is contained in:
parent
49145e90a2
commit
64c23f8477
@ -57,9 +57,9 @@ void App::Update()
|
|||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
BeginDrawing();
|
BeginDrawing();
|
||||||
|
|
||||||
ClearBackground(RAYWHITE);
|
ClearBackground(RED);
|
||||||
|
|
||||||
DrawRectangle(posX, posY, 400, 100, RED);
|
DrawRectangle(posX, posY, 400, 100, WHITE);
|
||||||
|
|
||||||
DrawLine(0, 0, GetScreenWidth(), GetScreenHeight(), BLUE);
|
DrawLine(0, 0, GetScreenWidth(), GetScreenHeight(), BLUE);
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ using namespace Windows::Graphics::Display;
|
|||||||
using namespace Microsoft::WRL;
|
using namespace Microsoft::WRL;
|
||||||
using namespace Platform;
|
using namespace Platform;
|
||||||
|
|
||||||
extern "C" { EGLNativeWindowType uwpWindow; };
|
extern "C" { EGLNativeWindowType handle; };
|
||||||
|
|
||||||
/*
|
/*
|
||||||
TODO list:
|
TODO list:
|
||||||
@ -117,7 +117,7 @@ public:
|
|||||||
|
|
||||||
// The CoreWindow has been created, so EGL can be initialized.
|
// The CoreWindow has been created, so EGL can be initialized.
|
||||||
|
|
||||||
uwpWindow = (EGLNativeWindowType)window;
|
handle = (EGLNativeWindowType)window;
|
||||||
|
|
||||||
InitWindow(width, height, NULL);
|
InitWindow(width, height, NULL);
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Platform)'=='ARM'">
|
<ItemDefinitionGroup Condition="'$(Platform)'=='ARM'">
|
||||||
<Link>
|
<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>
|
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(VCInstallDir)\lib\store\arm;$(VCInstallDir)\lib\arm;$(SolutionDir)\raylib\Debug</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
Loading…
Reference in New Issue
Block a user