There is an option in Makefile.win to exclude the opengl library from the retroarch build: HAVE_OPENGL = 0. However, the source code in ui_win32.c has lines which refer to the opengl headers even if opengl is set to off in this makefile. Here are examples in ui_win32.c: #include “…/…/gfx/common/gl_common.h” RARCH_ERR("[WGL]: wgl_shader_dlg_init() failed. ");
I assume these lines should be defined by use of HAVE_OPENGL = 1.