Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 154861 Details for
Bug 240199
Could not initialize SDL (/dev/fb0 missing)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
SDL_Init() example for testing purpose
SDL_init.c (text/x-csrc), 486 bytes, created by
Christian Weiss
on 2007-05-16 18:51:10 UTC
(
hide
)
Description:
SDL_Init() example for testing purpose
Filename:
MIME Type:
Creator:
Christian Weiss
Created:
2007-05-16 18:51:10 UTC
Size:
486 bytes
patch
obsolete
>#include "SDL/SDL.h" /* All SDL App's need this */ >#include <stdio.h> > >int main() { > printf("Initializing SDL.\n"); > > /* Initialize defaults, Video and Audio */ > if((SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO)==-1)) { > printf("Could not initialize SDL: %s.\n", SDL_GetError()); > exit(-1); > } > > printf("SDL initialized.\n"); > printf("Quiting SDL.\n"); > > /* Shutdown all subsystems */ > SDL_Quit(); > printf("Quiting....\n"); > > exit(0); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 240199
:
154859
|
154860
| 154861