Skip to content

Commit

Permalink
Fix FakeGeometry compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
nieznanysprawiciel committed Nov 13, 2024
1 parent f875d25 commit 825a0bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions swGUI/TestFramework/Utils/Mocks/Media/FakeGeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ bool FakeGeometry::HitTest ( const Rect& rectangle ) const

// ================================ //
//
GeometryData FakeGeometry::Generate ()
Nullable< GeometryData > FakeGeometry::Generate()
{
BufferTyped< VertexShape2D > vertexBuffer( 4 );
BufferTyped< Index16 > indexBuffer( 6 );
Expand All @@ -59,7 +59,7 @@ GeometryData FakeGeometry::Generate ()

// ================================ //
//
BufferRange FakeGeometry::BufferData ()
BufferRange FakeGeometry::BufferData ()
{
return m_buffer.GetView();
}
Expand Down
4 changes: 2 additions & 2 deletions swGUI/TestFramework/Utils/Mocks/Media/FakeGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class FakeGeometry : public Geometry
virtual bool HitTest ( const Point& point ) const override;
virtual bool HitTest ( const Rect& rectangle ) const override;

virtual GeometryData Generate () override;
virtual BufferRange BufferData () override;
virtual Nullable< GeometryData > Generate () override;
virtual BufferRange BufferData () override;

virtual filesystem::Path ShaderFunctionFile () override;
virtual std::string GeometryName () override;
Expand Down

0 comments on commit 825a0bf

Please sign in to comment.