Skip to content

Commit 32d54b1

Browse files
committed
Comment out missing bindGraphicsContext on Linux.
1 parent 84dc66c commit 32d54b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

viewer/src/viewer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ static void event(const sapp_event* ev)
131131
case SAPP_EVENTTYPE_FILES_DROPPED:
132132
{
133133
// Do this to make sure the graphics is bound.
134+
#ifndef __linux
134135
bindGraphicsContext();
136+
#endif
135137

136138
// get the number of files and their paths like this:
137139
const int numDroppedFiles = sapp_get_num_dropped_files();

0 commit comments

Comments
 (0)