mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 09:38:08 +00:00
Fix compilation for MSVC, also moved some folders.
1. Added again the libraries for MSVC. If you need MinGW libraries version tell me 2. Removed "#include stdafx.h". Is not needed. 3. Renamed "RmlUIAssets" to "UI" and "Menus" to "Iggy"
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#include "stdafx.h"
|
||||
#include "RmlManager.h"
|
||||
|
||||
extern ID3D11Device* g_pd3dDevice;
|
||||
@@ -43,7 +42,7 @@ bool RmlManager::Init(int viewport_width, int viewport_height)
|
||||
char* lastSlash = strrchr(exePath, '\\');
|
||||
if (lastSlash)
|
||||
*(lastSlash + 1) = '\0';
|
||||
Rml::String assetPath = Rml::String(exePath) + "Assets/RmlUiAssets";
|
||||
Rml::String assetPath = Rml::String(exePath) + "Assets/UI";
|
||||
m_file_interface->SetAssetPath(assetPath);
|
||||
|
||||
Rml::SetRenderInterface(m_renderer.get());
|
||||
|
||||
Reference in New Issue
Block a user