Skip to content

Commit

Permalink
tests/GLRenderer: Fix make_current test
Browse files Browse the repository at this point in the history
  • Loading branch information
RAOF committed Jun 13, 2023
1 parent b461f2e commit 2c36342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit-tests/renderers/gl/test_gl_renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ TEST_F(GLRenderer, makes_display_buffer_current_before_rendering)
auto mock_output_surface = make_output_surface();

InSequence seq;
EXPECT_CALL(*mock_output_surface, make_current());
EXPECT_CALL(*mock_output_surface, make_current()).Times(AnyNumber());
EXPECT_CALL(mock_gl, glClear(_));

mrg::Renderer renderer(gl_platform, std::move(mock_output_surface));
Expand Down

0 comments on commit 2c36342

Please sign in to comment.