Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
7 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,9 @@ | |
#include <assert.h> | ||
#define TO_STRING(...) #__VA_ARGS__ | ||
#else | ||
#include <GL/glew.h> | ||
#define GL_GLEXT_PROTOTYPES | ||
#include <GL/gl.h> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
akva2
Contributor
|
||
#include <GL/glext.h> | ||
#endif | ||
#include <iostream> | ||
#include <algorithm> | ||
|
@@ -1056,11 +1058,6 @@ ADDON_STATUS ADDON_Create(void* hdl, void* props) | |
|
||
cfg = kiss_fft_alloc(AUDIO_BUFFER, 0, NULL, NULL); | ||
|
||
#if !defined(HAS_GLES) | ||
if (GLEW_OK != glewInit()) { | ||
std::cout << "Failed to initialize glew"; | ||
} | ||
#endif | ||
if (!initialized) | ||
{ | ||
#if defined(HAS_GLES) | ||
|
1 comment
on commit 11371c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, confirmed this fixes the intel crash, thanks
this needs the same handling as spectrum for example:
xbmc/visualization.spectrum@ab83a41
same for the glext.h include in the next line