mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-01 07:57:21 -04:00
Merge pull request #205 from TakaRikka/shutdown
Allow threads to gracefully shutdown
This commit is contained in:
+5
-4
@@ -20,10 +20,9 @@
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
#include "dusk/logging.h"
|
||||
|
||||
#ifndef __MWERKS__
|
||||
#include "dusk/extras.h"
|
||||
#include "dusk/logging.h"
|
||||
#endif
|
||||
|
||||
dRes_info_c::dRes_info_c() {
|
||||
@@ -102,11 +101,13 @@ static void setIndirectTex(J3DModelData* i_modelData) {
|
||||
if (memcmp(textureName, "dummy", 6) == 0) {
|
||||
texture->setResTIMG(i, *mDoGph_gInf_c::getFrameBufferTimg());
|
||||
}
|
||||
#if !TARGET_PC
|
||||
if (memcmp(textureName, "Zbuffer", 8) == 0) {
|
||||
#if !TARGET_PC
|
||||
texture->setResTIMG(i, *mDoGph_gInf_c::getZbufferTimg());
|
||||
}
|
||||
#else
|
||||
DuskLog.warn("Zbuffer texture binding not yet supported");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user