Removed sdl_keysym_from_name (unused)

This commit is contained in:
Charles Dang 2016-12-11 00:08:33 +11:00
parent 1b8c04fbba
commit fb9831cfe5
2 changed files with 0 additions and 7 deletions

View file

@ -37,11 +37,6 @@
#include <boost/math/constants/constants.hpp>
SDL_Keycode sdl_keysym_from_name(const std::string& keyname)
{
return SDL_GetKeyFromName(keyname.c_str());
}
bool is_neutral(const surface& surf)
{
return (surf->format->BytesPerPixel == 4 &&

View file

@ -28,8 +28,6 @@
#include <map>
#include <string>
SDL_Keycode sdl_keysym_from_name(const std::string& keyname);
inline void sdl_blit(const surface& src, SDL_Rect* src_rect, surface& dst, SDL_Rect* dst_rect){
SDL_BlitSurface(src, src_rect, dst, dst_rect);
}