Mikekan13 Posted September 14, 2010 Author Share Posted September 14, 2010 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 More sharing options...
MarkMorris Posted September 15, 2010 Share Posted September 15, 2010 If D3DT_Character(sprite) = Nothing Then Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now