Restore video subsystem initialization when calling SDL_Init
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Fri, 12 Jun 2009 00:16:08 +0000 (00:16 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Fri, 12 Jun 2009 00:16:08 +0000 (00:16 +0000)
commita26bc1a84d8830cce5cc4d8d0ca8b4b4677d81c1
tree3a3e3d59245497cdca94a2e0124a9dfcc4dc2285
parenta1ce1686d2852c07dae6caf09599d7994937ed43
Restore video subsystem initialization when calling SDL_Init

Otherwise when the configuration is loaded (which happens immediately
afterwards), SDL_GetKeyName doesn't yet have a list to search through,
and as a result all of the user's custom key bindings are overwritten
with the defaults.

git-svn-id: https://s.snth.net/svn/neverball/trunk@2873 78b8d119-cf0a-0410-b17c-f493084dd1d7
ball/main.c
putt/main.c