Compare commits

..

No commits in common. "e032f8d54b3a6cb7e97a24dd21570508c46290ef" and "506a6c303e29546bf8c4acba89ec76e8093a9ac8" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View file

@ -72,9 +72,6 @@ namespace psemek::sdl2
if (!window_)
sdl2::fail("Failed to create window: ");
SDL_GetWindowSize(window_, &display_mode.w, &display_mode.h);
log::info() << "Created SDL2 window " << display_mode.w << 'x' << display_mode.h;
#if defined(PSEMEK_GRAPHICS_API_OPENGL)
gl_context_ = SDL_GL_CreateContext(window_);
if (!gl_context_)

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<style>
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }
body { margin: 0; padding: 0; }
canvas { display: block; width: 100%; height: 100%; }
</style>
</head>
@ -12,7 +12,6 @@
<script type="text/javascript">
var Module = {
canvas: document.getElementById('canvas'),
noImageDecoding: true,
};
</script>
{{{ SCRIPT }}}