mirror of
https://github.com/mpv-player/mpv
synced 2025-03-01 20:00:37 +00:00
Fix build with HAVE_GL==0
video/out/opengl/hwdec.h includes video/out/opengl/common.h, which tries to include opengl headers.
This commit is contained in:
parent
81efe20cd7
commit
212f6c8206
@ -40,7 +40,6 @@
|
||||
#include "stream/stream.h"
|
||||
#include "video/csputils.h"
|
||||
#include "video/hwdec.h"
|
||||
#include "video/out/opengl/hwdec.h"
|
||||
#include "video/image_writer.h"
|
||||
#include "sub/osd.h"
|
||||
#include "audio/filter/af.h"
|
||||
@ -53,6 +52,10 @@
|
||||
#include "video/out/drm_common.h"
|
||||
#endif
|
||||
|
||||
#if HAVE_GL
|
||||
#include "video/out/opengl/hwdec.h"
|
||||
#endif
|
||||
|
||||
extern const char mp_help_text[];
|
||||
|
||||
static void print_version(struct mp_log *log)
|
||||
|
Loading…
Reference in New Issue
Block a user