Mercurial > sdl-ios-xcode
annotate docs/man3/SDL_CDNumDrives.3 @ 759:26ac9609211f
From: Thomas Jarosch
To: Ryan C. Gordon
Subject: SDL: DirectFB videodriver segfault
Date: Sun, 21 Dec 2003 20:40:14 +0100
Hi Ryan,
attached is a patch to fix a segfault in DirectFB_VideoQuit.
When SetVideoMode never gets called (f.e. wrong command line arguments
for "testsprite"), this->screen->hwdata is NULL.
Cheers,
Thomas
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 22 Dec 2003 01:21:20 +0000 |
parents | e5bc29de3f0a |
children | 546f7c1eb755 |
rev | line source |
---|---|
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
1 .TH "SDL_CDNumDrives" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" |
0 | 2 .SH "NAME" |
3 SDL_CDNumDrives\- Returns the number of CD-ROM drives on the system\&. | |
4 .SH "SYNOPSIS" | |
5 .PP | |
6 \fB#include "SDL\&.h" | |
7 .sp | |
8 \fBint \fBSDL_CDNumDrives\fP\fR(\fBvoid\fR) | |
9 .SH "DESCRIPTION" | |
10 .PP | |
11 Returns the number of CD-ROM drives on the system\&. | |
12 .SH "SEE ALSO" | |
13 .PP | |
14 \fI\fBSDL_CDOpen\fP\fR | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
15 ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 |