add stub for GetClipboardImage() when building with drm tag
This commit is contained in:
parent
d58ffe1a3a
commit
0916909eff
1 changed files with 10 additions and 0 deletions
|
@ -3,6 +3,16 @@ package rl
|
||||||
/*
|
/*
|
||||||
#include "raylib.h"
|
#include "raylib.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#if !defined(SUPPORT_CLIPBOARD_IMAGE)
|
||||||
|
// Get clipboard image stub - returns empty image
|
||||||
|
Image GetClipboardImage(void)
|
||||||
|
{
|
||||||
|
Image image = {0};
|
||||||
|
return image;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue