Commit 011f08d4 authored by nanahira's avatar nanahira Committed by GitHub

skin in d3d mode only

parent 5404c437
...@@ -36,7 +36,7 @@ bool Game::Initialize() { ...@@ -36,7 +36,7 @@ bool Game::Initialize() {
if(!device) if(!device)
return false; return false;
// Apply skin // Apply skin
if(gameConf.skin_index) { if(gameConf.skin_index && gameConf.use_d3d) {
wchar_t skin_dir[16]; wchar_t skin_dir[16];
myswprintf(skin_dir, L"skin"); myswprintf(skin_dir, L"skin");
skinSystem = new CGUISkinSystem(skin_dir, device); skinSystem = new CGUISkinSystem(skin_dir, device);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment