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 592422 Details for
Bug 831336
freeglut-2.8.0 regression with Calculix-cgx (menu not shown)
[?]
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.
Test app that shows the problem
glutnomenu.c (text/x-csrc), 1.24 KB, created by
Manfred Spraul
on 2012-06-17 11:51:17 UTC
(
hide
)
Description:
Test app that shows the problem
Filename:
MIME Type:
Creator:
Manfred Spraul
Created:
2012-06-17 11:51:17 UTC
Size:
1.24 KB
patch
obsolete
>/* -------------------------------------------------------------------- */ >/* Based on CalculiX CGX: */ >/* CALCULIX */ >/* - GRAPHICAL INTERFACE - */ >/* */ >/* A 3-dimensional pre- and post-processor for finite elements */ >/* Copyright (C) 1996 Klaus Wittig */ > >// >// Test file that shows an incompatibility between freeglut-2.6 and >// freeglut-2.8: with freeglut-2.8, glutAttachMenu() does not work >// >// >// Steps to build: >// $ gcc -lglut -lGL glutnomenu.c > >#include <stdio.h> >#include <GL/glut.h> > >void menu( int selection ) >{ > if (selection == 5) > exit(0); >} > >int main (int argc, char **argv) >{ > int w0; > int mainmenu; > > glutInitWindowSize ( 512, 512); > glutInitDisplayMode ( GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH ); > glutInit ( &argc, argv ); > w0 = glutCreateWindow ( "glut_no_menu"); > > glutSetWindow(w0); > mainmenu = glutCreateMenu( menu ); > glutAddMenuEntry( "Frame ", 1); > glutAddMenuEntry( " -QUIT- ", 5); > glutAttachMenu(GLUT_LEFT_BUTTON); > > printf("mainmenu %d w0 %d.\n",mainmenu, w0); > > glutMainLoop (); > return(1); >}
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 831336
: 592422 |
604516
|
604519