Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 140542 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +4 lines)
Line  Link Here
1
-- freeglut-2.4.0/src/freeglut_cursor.c       2005-04-22 17:23:12.000000000 +0200
1
++ freeglut-2.4.0-patched/src/freeglut_cursor.c       2005-09-15 02:32:55.000000000 +0200
Lines 130-136 Link Here
130
                    XCreateFontCursor( fgDisplay.Display, entry->cursorShape);
130
                    XCreateFontCursor( fgDisplay.Display, entry->cursorShape);
131
            }
131
            }
132
            cursor = entry->cachedCursor;
132
            cursor = entry->cachedCursor;
133
        } else {
133
          if (cursor == None)
134
              fgError( "Failed to create cursor" );
135
      } else {
134
            switch( cursorIDToUse )
136
            switch( cursorIDToUse )
135
            {
137
            {
136
            case GLUT_CURSOR_NONE:
138
            case GLUT_CURSOR_NONE:
Lines 147-155 Link Here
147
            }
149
            }
148
        }
150
        }
149
        if ( ( cursorIDToUse != GLUT_CURSOR_NONE ) && ( cursor == None ) ) {
150
            fgError( "Failed to create cursor" );
151
        }
152
        XDefineCursor( fgDisplay.Display,
151
        XDefineCursor( fgDisplay.Display,
153
                       window->Window.Handle, cursor );
152
                       window->Window.Handle, cursor );
154
    }
153
    }

Return to bug 140542