sdl
How to keep the OpenGL viewport in an SDL window stationary when a window is resized?
I have an SDL window containing an OpenGL viewport. When the user resizes the window by dragging a window edge, I\'d like for (1) the viewport to expand to fill the window, and (2) for the contents of[详细]
2023-03-15 12:48 分类:问答SDL/Opengl Picking Question
Hi this might seem like a difficult question(or at least to me it is) but im using glUnproject and its not working.[详细]
2023-03-15 08:09 分类:问答SDL OpenGL Alt-tab in fullscreen has unpredictable results
I am writing a game in C++ using SDL 1.2.14 and the OpenGL bindings included with it. However, if the game is in fullscreen and I Alt - Tab out then back into the game, the results are unpredictable.[详细]
2023-03-15 03:27 分类:问答What specifically causes EPrivilege to be raised?
I\'m getting a bug report that some functionality in some music-playing code in an external DLL (SDL_Mixer, in case it helps) that my program uses is raising EPrivilege.The DLL is written in C, so I c[详细]
2023-03-15 02:32 分类:问答Sprite Sheet With OpenGL and SDL
I been working in a new game, and finally reached the point where I started to code the motion of my main character but I have a doubt about how do that.[详细]
2023-03-14 21:50 分类:问答C++ Segmentation Fault Only External to Eclipse
I have developed a C++ application in Eclipse. When run outside of Eclipse, it takes a segmentation fault after a consistent number (4) of user actions. It did not seem like anything special at first.[详细]
2023-03-14 05:47 分类:问答SDL: I have 8 images, and some css rules, how to create a button?
So I have 8 images that I use in my web player as backgrounds for difrent button states. I also have something alike CSS file with sca开发者_Go百科leGrid declarations for correct resize:[详细]
2023-03-13 18:41 分类:问答SDL: How to create simpli slider and manipulate its position via mouse?
So I want to 开发者_StackOverflow中文版create a gui for my game. I want to create a draggable slider. How to do such thing having 2 images - track and ball?Use some of SDL gui library rather than writ[详细]
2023-03-13 17:43 分类:问答Drawing widgets on existing sdl_opengl context
Is there any actively developed open-source (GPL is fine) library that can draw widgets such as buttons, menus, etc on an existing SDL/OpenGL context? I have heard of FLTK, but it appears that it crea[详细]
2023-03-13 14:52 分类:问答SlimDX vs. SDL - Which is the best?
For those who have experience, working with VB.NET, it\'s easier to use SlimDX or SDL? The tutorials for SlimDX are开发者_JS百科 already written for .NET, but I\'ve read that SDL it\'s a lot easier th[详细]
2023-03-12 21:38 分类:问答