Remove some debug code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8160 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 7f2a3bb81945299e0c3c283287da1d533b187b04 Former-commit-id: f592b081280cc613ba59de0340e8b8ebdb1e32de
This commit is contained in:
parent
951ebf7f64
commit
53fe66859a
1 changed files with 0 additions and 13 deletions
|
@ -402,20 +402,7 @@ SDL_Surface* gfScrCreateWindow(int nWinWidth, int nWinHeight, int nTotalDepth,in
|
|||
|
||||
int GfScrGetAttachedDisplays()
|
||||
{
|
||||
SDL_Rect rect;
|
||||
int nDisplays = SDL_GetNumVideoDisplays();
|
||||
|
||||
for(int i = 0;i < nDisplays;i++)
|
||||
{
|
||||
if(SDL_GetDisplayBounds(i,&rect) == 0)
|
||||
{
|
||||
printf(" Display (%s) : %d\n", SDL_GetDisplayName(i), i);
|
||||
printf(" %-8.8s: %d\n","left", rect.x);
|
||||
printf(" %-8.8s: %d\n","top", rect.y);
|
||||
printf(" %-8.8s: %d\n","width", rect.w);
|
||||
printf(" %-8.8s: %d\n","height", rect.h);
|
||||
}
|
||||
}
|
||||
return nDisplays;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue