New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core: Kill off a few Host interface functions. #740
Conversation
Probably need to update MainNoGUI and StubHost as well to remove this function. |
Wait a sec on merging this, might be able to kill off a third one here. EDIT: This is currently ongoing. This will be OK to merge once all the GL interfaces have host calls killed off. |
@dolphin-emu-bot rebuild |
Tested on Ubuntu 14.04: still builds & runs. |
Alright, thanks.
|
Looks good. |
OK, LGTM. |
@@ -81,7 +73,7 @@ void *cXInterface::CreateWindow(void) | |||
|
|||
// Create the window | |||
GLWin.win = XCreateWindow(GLWin.evdpy, GLWin.parent, | |||
GLWin.x, GLWin.y, GLWin.width, GLWin.height, 0, | |||
0, 0, 1, 1, 0, |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Uses wxWidgets event propagation to the parent window which then appropriately handles the breakpoint list updating.
This was actually never used as far as I can tell. There was no wx event handling done whatsoever for the global ID, So this is basically a dead function.
Just use the Windows API to accomplish the same thing (this is what is done in Update()). This makes the backing window handle the correct data-type for Windows for easier use in function calls.
Just uses platform-specific ways to do the same thing.
Also remove x, y, width and height from the GLInterface, since it's only used in GLX, which no longer uses them
Core: Kill off a few Host interface functions.
Kills off some of the Host interface functions. Many of these are a result of not using the event system in wx correctly, or are just used as a quick kludge.