ALT Linux Bugzilla
– Attachment 2963 Details for
Bug 17380
Отсутствует вызов glutInit
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Вызов glutInit
kiki-glut.patch (text/plain), 788 bytes, created by
Aleksey Borisenkov
on 2008-09-29 13:25:03 MSD
(
hide
)
Description:
Вызов glutInit
Filename:
MIME Type:
Creator:
Aleksey Borisenkov
Created:
2008-09-29 13:25:03 MSD
Size:
788 bytes
patch
obsolete
>diff -uprk.orig kiki_src.orig/kiki/src/main/main.cpp kiki_src/kiki/src/main/main.cpp >--- kiki_src.orig/kiki/src/main/main.cpp 2008-02-01 22:20:51 +0400 >+++ kiki_src/kiki/src/main/main.cpp 2008-09-29 03:19:45 +0500 >@@ -9,6 +9,7 @@ > #include <math.h> > > #include <SDL.h> >+#include <GL/glut.h> > #include "KikiController.h" > > // __________________________________________________________________________________________________ >@@ -19,6 +20,8 @@ int main (int argc, char * argv[]) > int width, height; > SDL_Surface * screen; > >+ glutInit(&argc, argv); >+ > // initialize SDL > if ( SDL_Init(SDL_INIT_VIDEO | SDL_INIT_VIDEO) < 0 ) // SDL_INIT_TIMER > { >Ð¤Ð°Ð¹Ð»Ñ kiki_src.orig/kiki/SWIG/.KikiController.i.swp и kiki_src/kiki/SWIG/.KikiController.i.swp ÑазлиÑаÑÑÑÑ
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 17380
: 2963