~vcs-imports/libsdl/trunk

« back to all changes in this revision

Viewing changes to src/video/dummy/SDL_nullvideo.c

  • Committer: slouken
  • Date: 2006-05-29 02:53:21 UTC
  • Revision ID: svn-v4:c70aab31-4412-0410-b14c-859654838e24:branches/SDL-1.3:2493
Implemented many compatibility functions

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
int
119
119
DUMMY_VideoInit (_THIS)
120
120
{
 
121
    SDL_DisplayMode mode;
 
122
 
121
123
    SDL_AddBasicVideoDisplay (NULL);
122
124
 
 
125
    SDL_zero(mode);
 
126
    SDL_AddDisplayMode(0, &mode);
 
127
 
123
128
    /* We're done! */
124
129
    return 0;
125
130
}