Search found 8 matches
- Tue Jan 23, 2018 4:54 pm
- Forum: Advanced Help
- Topic: GLFW integration problem
- Replies: 17
- Views: 3378
Re: GLFW integration problem
@madga Rereading again code of your patch, it seems too much hardcoded to opengl only, so no gles, no software, no burningvideo will works with your patch, sadly :( I can be wrong of course, as not expert, but for example in that decsrutctor: CIrrDeviceSDL::~CIrrDeviceSDL() You do SDL_GL_DeleteCont...
- Tue Jan 23, 2018 12:00 pm
- Forum: Advanced Help
- Topic: GLFW integration problem
- Replies: 17
- Views: 3378
Re: GLFW integration problem
Mmm idk, I used OpenGL rendering.kas1e wrote:Yeah, doing so from begining when apply patch by hands line by line, and still black window.. But ogl file should'n have impact on software rendering ?
params.DeviceType = E_DEVICE_TYPE::EIDT_SDL;
params.DriverType = video::E_DRIVER_TYPE::EDT_OPENGL;
- Tue Jan 23, 2018 12:14 am
- Forum: Advanced Help
- Topic: GLFW integration problem
- Replies: 17
- Views: 3378
Re: GLFW integration problem
@madga Do you have SDL_CreateWindow or SDL_SetVideoMode in CIrrDeviceSDL.cpp? (In the method createWindow()) Yeah of course. Windows creates, its just everything black inside. I just apply patch's code via ifdefs manually as it not 100% the same by lines in 1.8.4 version , but code the same of cour...
- Mon Jan 22, 2018 9:51 pm
- Forum: Advanced Help
- Topic: GLFW integration problem
- Replies: 17
- Views: 3378
Re: GLFW integration problem
Do you have SDL_CreateWindow or SDL_SetVideoMode in CIrrDeviceSDL.cpp? (In the method createWindow())kas1e wrote:@Madga
I manually apply this sdl2 patch over 1.8.4 release, and while it all builds and co, i have black window only Allthrough changed files in diff really the same on 99%, strange ..
- Mon Jan 22, 2018 7:53 pm
- Forum: Advanced Help
- Topic: GLFW integration problem
- Replies: 17
- Views: 3378
Re: GLFW integration problem
@madga SDL2 patch for Irrlicht (rev5600): https://pastebin.com/Ws7SQUTQ I assume that patch can be applied on ogl-es r5600 branch as well ? I think so, i don't know the differences between both branches. Although I think I have created it over ogl-es branch, i don't know how to use SVN well, I usua...
- Mon Jan 22, 2018 5:42 pm
- Forum: Advanced Help
- Topic: GLFW integration problem
- Replies: 17
- Views: 3378
Re: GLFW integration problem
It didn't work well, so I created a GLFW3 driver and now i have it working. GLFW patch for Irrlicht (rev5600): https://pastebin.com/yxXgjFCX (link updated, input was broken) (Without joysticks for the moment) Also I have updated the SDL driver for using SDL2 (based on the patch released by Octodad t...
- Mon Jan 22, 2018 12:35 am
- Forum: Advanced Help
- Topic: GLFW integration problem
- Replies: 17
- Views: 3378
Re: GLFW integration problem
From CIrrDeviceLinux.cpp (may differ from vanilla Irrlicht) if (!CreationParams.WindowId) { // create new Window // Remove window manager decoration in fullscreen attributes.override_redirect = CreationParams.Fullscreen; window = XCreateWindow(display, ...
- Fri Jan 19, 2018 4:35 pm
- Forum: Advanced Help
- Topic: GLFW integration problem
- Replies: 17
- Views: 3378
GLFW integration problem
Hi everyone. I'm trying to use both Irrlicht and GLFW in my game. I create a Window with GLFW like this: glfwInit(); glfwSetTime(0); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); ...