Este site funciona melhor com JavaScript.
Página inicial
Ajuda
Acessar
lolengine
/
lol
espelhamento de
https://github.com/lolengine/lol
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
build: use GLES (not GL) when using emscripten, and disable SdlInput too.
legacy
Sam Hocevar
sam
12 anos atrás
pai
f852e8d7e1
commit
551fea7ed7
2 arquivos alterados
com
8 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+5
-0
src/lolgl.h
+3
-0
src/platform/sdl/sdlapp.cpp
+ 5
- 0
src/lolgl.h
Ver arquivo
@@ -18,6 +18,11 @@
#define GL_GLEXT_PROTOTYPES
/* Prefer GLES on browsers */
#if defined EMSCRIPTEN
# undef HAVE_GL_2X
#endif
/* Only define one GL platform */
#if defined HAVE_GL_2X
# undef HAVE_GLES_2X
+ 3
- 0
src/platform/sdl/sdlapp.cpp
Ver arquivo
@@ -100,7 +100,10 @@ SdlApp::SdlApp(char const *title, ivec2 res, float fps) :
* advertised with the proper number of axes. */
new D3d9Input();
# endif
# if !defined EMSCRIPTEN
new SdlInput();
# endif
#endif
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar