Post

 Resources 

Console


RE: Just image data Adam Hoult (3 replies, 0 views) (2000-Dec-2)
-
Yeah that should be ok.... Are you creating the Image Surface first ?? i.e With Direct3DDevice8.CreateImageSurface ??? (Or at least returning the reference to the surface from the Texture interface if you are using it for a texture ?) The specific error you mentioned is Invalid Call.... (One of the parameters passed is invalid) I should imagine you would want to be doing something such as this (without seeing the exact circumstances surrounding the image data you are loading, and whether you are using it on a texture surface, or an image surface it's the best I can do =) D3DX8.LoadImageSurface( {Direct3DSurface8}, ByVal 0&, DestRect, MyImage(0), D3DFMT_R8G8B8, 640 * 3, ByVal 0&, SrcRect, D3DX_FILTER_NONE, 0 ) Just some ideas to try and solve the problem... Adam


-
Up One Level | Back to Forum

weird MetalWarrior (2 replies) (2000-Dec-2)
DXT Adam Hoult (1 reply) (2000-Dec-3)
Problem solved MetalWarrior (0 replies) (2000-Dec-3)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 37 visitors within the last 20 minutes
RSS News Feed