Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 90508 Details for
Bug 138093
dev-games/ogre ~amd64 keyword request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/ogre-1.2.1-sdl-isfullscreen-freesurface.patch
ogre-1.2.1-sdl-isfullscreen-freesurface.patch (text/plain), 1.15 KB, created by
Sergey Belyashov
on 2006-06-29 22:30:56 UTC
(
hide
)
Description:
files/ogre-1.2.1-sdl-isfullscreen-freesurface.patch
Filename:
MIME Type:
Creator:
Sergey Belyashov
Created:
2006-06-29 22:30:56 UTC
Size:
1.15 KB
patch
obsolete
>diff -ruN ogrenew.orig/RenderSystems/GL/src/SDL/OgreSDLWindow.cpp ogrenew/RenderSystems/GL/src/SDL/OgreSDLWindow.cpp >--- ogrenew.orig/RenderSystems/GL/src/SDL/OgreSDLWindow.cpp 2006-06-19 14:48:23.000000000 +0400 >+++ ogrenew/RenderSystems/GL/src/SDL/OgreSDLWindow.cpp 2006-06-21 15:50:34.000000000 +0400 >@@ -57,8 +57,10 @@ > > SDLWindow::~SDLWindow() > { >- if (mScreen != NULL) >- SDL_FreeSurface(mScreen); >+ // according to http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fSetVideoMode >+ // never free the surface returned from SDL_SetVideoMode >+ /*if (mScreen != NULL) >+ SDL_FreeSurface(mScreen);*/ > > } > >diff -ruN ogrenew.orig/RenderSystems/GL/include/OgreSDLWindow.h ogrenew.1/RenderSystems/GL/include/OgreSDLWindow.h >--- ogrenew.orig/RenderSystems/GL/include/OgreSDLWindow.h 2006-06-19 14:48:23.000000000 +0400 >+++ ogrenew.1/RenderSystems/GL/include/OgreSDLWindow.h 2006-06-27 15:37:21.000000000 +0400 >@@ -70,6 +70,10 @@ > } > > bool requiresTextureFlipping() const { return false; } >+ bool isFullScreen(void) const >+ { >+ return ( mScreen->flags & SDL_FULLSCREEN ) == SDL_FULLSCREEN; >+ } > }; > } >
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 138093
:
90347
|
90349
|
90450
|
90505
|
90506
|
90507
|
90508
|
92933
|
92934
|
93058
|
93060
|
93073
|
93075
|
97636
|
99275
|
101973
|
101977
|
102845
|
102846
|
108276
|
108281
|
108842
|
108888
|
109451
|
109453
|
122825
|
122826