Error while using CreateOffscreenPlainSurface

JimDiesel

Newcomer
Joined
Aug 6, 2003
Messages
4
Location
Sacramento, California
Hi,

When I try to run the following code, I receive an unspecified error:

D3DTileSurface = D3Device.CreateOffscreenPlainSurface(650, 25, Direct3D.Format.R8G8B8, Direct3D.Pool.Default)

D3DTileSurface was declared previously as:

Private D3DTileSurface As Direct3D.Surface = Nothing

Shouldn't this work?

Thanks,

Jim
 
Back
Top