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 158779 Details for
Bug 247252
RFE: build mesa demos
[?]
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.
[patch]
patch for geartrain, gltestperf, isosurf, morph3d and winpos demos
mesa-demos-6.5.2-glutInit.patch (text/plain), 1.90 KB, created by
Xavier Bachelot
on 2007-07-09 15:56:12 UTC
(
hide
)
Description:
patch for geartrain, gltestperf, isosurf, morph3d and winpos demos
Filename:
MIME Type:
Creator:
Xavier Bachelot
Created:
2007-07-09 15:56:12 UTC
Size:
1.90 KB
patch
obsolete
>--- progs/demos/geartrain.c.orig 2007-03-02 14:34:26.000000000 +0100 >+++ progs/demos/geartrain.c 2007-03-02 14:14:44.000000000 +0100 >@@ -1053,6 +1053,7 @@ > else > file = argv[1]; > >+ glutInit(&argc, argv); > glutInitWindowPosition (0, 0); > glutInitWindowSize(640,480); > glutInitDisplayMode (GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE ); >--- progs/demos/gltestperf.c.orig 2007-03-02 14:27:29.000000000 +0100 >+++ progs/demos/gltestperf.c 2007-03-02 14:29:51.000000000 +0100 >@@ -569,6 +569,7 @@ > if (ac == 2) > frontbuffer = 0; > >+ glutInit(&ac, av); > glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH); > glutInitWindowPosition(0, 0); > glutInitWindowSize(640, 480); >--- progs/demos/isosurf.c.orig 2007-03-02 14:14:01.000000000 +0100 >+++ progs/demos/isosurf.c 2007-03-02 14:14:28.000000000 +0100 >@@ -1042,6 +1042,7 @@ > > read_surface( "/usr/lib/mesa-demos-data/isosurf.dat" ); > >+ glutInit( &argc, argv); > glutInitWindowPosition(0, 0); > glutInitWindowSize(400, 400); > >--- progs/demos/morph3d.c.morph3d_glutInit 2005-12-14 03:51:33.000000000 +0100 >+++ progs/demos/morph3d.c 2007-03-03 00:29:37.000000000 +0100 >@@ -826,7 +826,7 @@ > > } > >-static void INIT(void) >+int main(int argc, char **argv) > { > printf("Morph 3D - Shows morphing platonic polyhedra\n"); > printf("Author: Marcelo Fernandes Vianna (vianna@cat.cbpf.br)\n\n"); >@@ -841,6 +841,7 @@ > > object=1; > >+ glutInit(&argc, argv); > glutInitWindowPosition(0,0); > glutInitWindowSize(640,480); > >@@ -888,9 +889,3 @@ > glutMainLoop(); > > } >- >-int main(int argc, char **argv) >-{ >- INIT(); >- return(0); >-} >--- progs/demos/winpos.c.orig 2007-03-02 14:17:46.000000000 +0100 >+++ progs/demos/winpos.c 2007-03-02 14:18:16.000000000 +0100 >@@ -100,6 +100,7 @@ > > int main( int argc, char *argv[] ) > { >+ glutInit(&argc, argv); > glutInitWindowPosition(0, 0); > glutInitWindowSize(500, 500); > glutInitDisplayMode( GLUT_RGB );
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247252
: 158779 |
158801