Skip to content

Adding textures before it's actually fills with data #53

@CrabJournal

Description

@CrabJournal

In uMod_DX9/uMod_IDirect3DDevice9.cpp, uMod_IDirect3DDevice9::CreateTexture, line 334

if (LastCreatedTexture!=NULL) //if a texture was loaded before, hopefully this texture contains now the data, so we can add it
{
     if ( uMod_Client!=NULL) uMod_Client->AddTexture( LastCreatedTexture);
}

This hope is not always justified, especially if the game doesn't use d3dx9 (for example: NFS Underground 2), so oftenly empty textures are saved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions