Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[DX8] Direct3DTexture8 texture creating


Mikekan13
 Share

Recommended Posts

I am trying to make textures load similarly to how origins loads surfaces.

```
Public D3DT_Character() As Direct3DTexture8
......

If D3DT_Character(sprite) Is Nothing Then  '<---This wont work
        Call InitTexture(filename, D3DD_Character(sprite), D3DT_Character(sprite))
    End If

```
I cant check or set a direct3dtexture8 to Nothing so how would I do this.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...