Browse Source

Fix DirectX sample after 64bit fix.

Lloyd Weehuizen 15 years ago
parent
commit
f85b5ebc69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Samples/basic/directx/src/RenderInterfaceDirectX.cpp

+ 1 - 1
Samples/basic/directx/src/RenderInterfaceDirectX.cpp

@@ -281,7 +281,7 @@ bool RenderInterfaceDirectX::GenerateTexture(Rocket::Core::TextureHandle& textur
 	d3d9_texture->UnlockRect(0);
 
 	// Set the handle on the Rocket texture structure.
-	texture_handle = d3d9_texture;
+	texture_handle = (Rocket::Core::TextureHandle)d3d9_texture;
 	return true;
 }