mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-04 04:03:52 +00:00
refactor: extract fallback textures, add why-comments, name WMO constant
- character_renderer: extract duplicated fallback texture creation (white/transparent/flat-normal) into createFallbackTextures() — was copy-pasted between initialize() and clear() - wmo_renderer: replace magic 8192 with kMaxRetryTracked constant, add why-comment explaining the fallback-retry set cap (Dalaran has 2000+ unique WMO groups) - quest_handler: add why-comment on reqCount=0 fallback — escort/event quests can report kill credit without objective counts in query response
This commit is contained in:
parent
f313eec24e
commit
4acebff65c
4 changed files with 40 additions and 44 deletions
|
|
@ -251,6 +251,10 @@ public:
|
|||
|
||||
|
||||
private:
|
||||
// Create 1×1 fallback textures used when real textures are missing or still loading.
|
||||
// Called during both init and clear to ensure valid descriptor bindings at all times.
|
||||
void createFallbackTextures(VkDevice device);
|
||||
|
||||
VkContext* vkCtx_ = nullptr;
|
||||
VkRenderPass renderPassOverride_ = VK_NULL_HANDLE;
|
||||
VkSampleCountFlagBits msaaSamplesOverride_ = VK_SAMPLE_COUNT_1_BIT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue