Skip to content
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

hw_render.get_proc_address() returns NULL #6015

Closed
deltabeard opened this issue Dec 31, 2017 · 1 comment
Closed

hw_render.get_proc_address() returns NULL #6015

deltabeard opened this issue Dec 31, 2017 · 1 comment

Comments

@deltabeard
Copy link
Contributor

deltabeard commented Dec 31, 2017

Description

hw_render.get_proc_address("glGetString") returns NULL instead of a function pointer. Using gdb, I've found that video_driver_poke is NULL when it probably shouldn't be.

Previous discussion is here, and the code that found this bug is here.

Expected behavior

For get_proc_address to not fail.

Actual behavior

video_driver_poke (gfx/video_driver.c:655) is NULL, causing get_proc_address to also return NULL, when using the gl video driver.

Steps to reproduce the bug

  1. Initialise context type as RETRO_HW_CONTEXT_OPENGL and set hw_render.
  2. Call hw_render.get_proc_address("glGetString")

Bisect Results

Since the start of time. v1.7.0, master branch and v1.3.6 all tested. Same result

Version/Commit

[INFO] === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES
Built: Dec 31 2017
[INFO] Version: 1.7.0
[INFO] Git: e5b346a
[INFO] =================================================

Environment information

@deltabeard
Copy link
Contributor Author

Invalid: Not an issue with Retroarch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant