Эх сурвалжийг харах

Fix compilation of DirectX Sample

Lloyd Weehuizen 15 жил өмнө
parent
commit
2a25eac83d

+ 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;
 	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.
 // Called by Rocket when it wants to render application-compiled geometry.