~ubuntu-branches/ubuntu/karmic/fltk1.1/karmic

« back to all changes in this revision

Viewing changes to src/gl_start.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-05-22 13:57:06 UTC
  • mfrom: (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050522135706-mchag24yf42lu7bu
Tags: 1.1.6-5
* Revert previous change, which seems to have been ineffective for some
  reason, in favor of commenting out the problematic Makefile rule
  altogether.  (Closes: #310151.)
* debian/control: Go back to specifying the URL as part of the
  description rather than via a non-standard field that doesn't seem to
  have caught on.  (Closes: #310240.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
 
// "$Id: gl_start.cxx,v 1.6.2.5.2.9 2004/04/11 04:39:00 easysw Exp $"
 
2
// "$Id: gl_start.cxx,v 1.6.2.5.2.11 2004/09/09 21:34:48 matthiaswm Exp $"
3
3
//
4
4
// OpenGL context routines for the Fast Light Tool Kit (FLTK).
5
5
//
65
65
#ifdef WIN32
66
66
    if (!gl_choice) Fl::gl_visual(0);
67
67
    context = fl_create_gl_context(Fl_Window::current(), gl_choice);
68
 
#elif defined(__APPLE__)
 
68
#elif defined(__APPLE_QD__)
69
69
    // \todo Mac : We need to check the code and verify it with Apple Sample code. The 'shiny'-test should at least work with the software OpenGL emulator
70
70
    context = fl_create_gl_context(Fl_Window::current(), gl_choice);
 
71
#elif defined(__APPLE_QUARTZ__)
 
72
    // warning: the Quartz version should probably use Core GL (CGL) instead of AGL
 
73
    context = fl_create_gl_context(Fl_Window::current(), gl_choice);
71
74
#else
72
75
    context = fl_create_gl_context(fl_visual);
73
76
#endif
110
113
  if (!c) return 0;
111
114
#ifdef WIN32
112
115
  gl_choice = c;
113
 
#elif defined(__APPLE__)
 
116
#elif defined(__APPLE_QD__)
 
117
  gl_choice = c;
 
118
#elif defined(__APPLE_QUARTZ__)
 
119
  // warning: the Quartz version should probably use Core GL (CGL) instead of AGL
114
120
  gl_choice = c;
115
121
#else
116
122
  fl_visual = c->vis;
122
128
#endif
123
129
 
124
130
//
125
 
// End of "$Id: gl_start.cxx,v 1.6.2.5.2.9 2004/04/11 04:39:00 easysw Exp $".
 
131
// End of "$Id: gl_start.cxx,v 1.6.2.5.2.11 2004/09/09 21:34:48 matthiaswm Exp $".
126
132
//