Browse Source

Fix compilation of DirectX Sample

Lloyd Weehuizen 15 years ago
parent
commit
2a25eac83d
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

@@ -107,7 +107,7 @@ Rocket::Core::CompiledGeometryHandle RenderInterfaceDirectX::CompileGeometry(Roc
 
 	geometry->texture = texture == NULL ? NULL : (LPDIRECT3DTEXTURE9) texture;
 
-	return geometry;
+	return (Rocket::Core::CompiledGeometryHandle)geometry;
 }
 
 // Called by Rocket when it wants to render application-compiled geometry.