diff options
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_decoder.h')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h index 646fbcc..09d00f4 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.h +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h @@ -8,14 +8,16 @@ #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ #include <build/build_config.h> -#if defined(OS_LINUX) -#include "gpu/command_buffer/service/x_utils.h" -#elif defined(OS_WIN) +#if defined(OS_WIN) #include <windows.h> #endif #include "gpu/command_buffer/service/common_decoder.h" namespace gpu { +// Forward-declared instead of including x_utils.h, because including glx.h +// causes havok. +class XWindowWrapper; + namespace gles2 { // This class implements the AsyncAPIInterface interface, decoding GLES2 |