Skip to content

Commit 5042a94

Browse files
committed
Fix output testcase. Graphics must be initialized now because Output forwards to the MessageOverlay.
1 parent 9e60322 commit 5042a94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/output.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
#include "graphics.h"
12
#include "output.h"
23
#include "main_data.h"
34

45
int main(int, char**) {
6+
Graphics::Init();
57
Main_Data::Init();
68
Output::Debug("Test %s", "debg");
79
Output::Warning("Test %s", "test");

0 commit comments

Comments
 (0)