backport from 1.3
--HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402125
This commit is contained in:
parent
4ab10dce94
commit
b894bd1a3c
1 changed files with 1 additions and 2 deletions
|
@ -175,8 +175,7 @@ int SDL_VideoInit (const char *driver_name, Uint32 flags)
|
|||
}
|
||||
#endif
|
||||
for ( i=0; bootstrap[i]; ++i ) {
|
||||
if ( SDL_strncmp(bootstrap[i]->name, driver_name,
|
||||
SDL_strlen(bootstrap[i]->name)) == 0 ) {
|
||||
if ( SDL_strcasecmp(bootstrap[i]->name, driver_name) == 0) {
|
||||
if ( bootstrap[i]->available() ) {
|
||||
video = bootstrap[i]->create(index);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue