mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
Fix a warning and an error
Happened because I compiled on windows and it only compiled windows-specific code.
This commit is contained in:
parent
94a2d20712
commit
429195aa6f
|
@ -178,6 +178,8 @@ failed:
|
|||
gl_bind_buffer(GL_PIXEL_PACK_BUFFER, 0);
|
||||
gl_bind_texture(GL_TEXTURE_2D, 0);
|
||||
blog(LOG_ERROR, "device_stage_texture (GL) failed");
|
||||
|
||||
UNUSED_PARAMETER(device);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -49,7 +49,7 @@ static void do_log(int log_level, const char *msg, va_list args)
|
|||
vprintf(msg, args);
|
||||
printf("\n");
|
||||
|
||||
UNUSED_PARAMETER(level);
|
||||
UNUSED_PARAMETER(log_level);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue