mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 01:09:21 +00:00
Spout: fixed missing GL include
fixes failed run: https://github.com/MartinPulec/UltraGrid/actions/runs/4665946519/jobs/8259953664
This commit is contained in:
@@ -34,11 +34,13 @@
|
||||
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include <GL/GL.h>
|
||||
#include <SpoutLibrary.h>
|
||||
|
||||
#include "debug.h"
|
||||
#include "spout_sender.h"
|
||||
|
||||
|
||||
void *spout_sender_register(const char *name) {
|
||||
|
||||
SPOUTHANDLE spout = GetSpout();
|
||||
@@ -49,8 +51,8 @@ void *spout_sender_register(const char *name) {
|
||||
}
|
||||
|
||||
void spout_sender_sendframe(void *s, int width, int height, unsigned int id) {
|
||||
((SPOUTHANDLE)s)->SendTexture(id, GL_TEXTURE_2D, width, height, false); // default is flip
|
||||
}
|
||||
((SPOUTHANDLE)s)->SendTexture(id, GL_TEXTURE_2D, width, height, false /* flip */);
|
||||
}
|
||||
|
||||
void spout_sender_unregister(void *s) {
|
||||
auto *spout = static_cast<SPOUTHANDLE>(s);
|
||||
|
||||
Reference in New Issue
Block a user