mirror of https://github.com/bjornbytes/lovr.git
rm SourceInterpolation;
This commit is contained in:
parent
98f33dc131
commit
de5099badd
|
@ -49,7 +49,6 @@ extern StringEntry lovrPermission[];
|
|||
extern StringEntry lovrSampleFormat[];
|
||||
extern StringEntry lovrShaderType[];
|
||||
extern StringEntry lovrShapeType[];
|
||||
extern StringEntry lovrSourceInterpolation[];
|
||||
extern StringEntry lovrStencilAction[];
|
||||
extern StringEntry lovrTextureFormat[];
|
||||
extern StringEntry lovrTextureType[];
|
||||
|
|
|
@ -57,12 +57,6 @@ StringEntry lovrVolumeUnit[] = {
|
|||
{ 0 }
|
||||
};
|
||||
|
||||
StringEntry lovrSourceInterpolation[] = {
|
||||
[SOURCE_NEAREST] = ENTRY("nearest"),
|
||||
[SOURCE_BILINEAR] = ENTRY("bilinear"),
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
static void onDevice(const void* id, size_t size, const char* name, bool isDefault, void* userdata) {
|
||||
lua_State* L = userdata;
|
||||
lua_createtable(L, 0, 3);
|
||||
|
|
|
@ -55,11 +55,6 @@ typedef enum {
|
|||
UNIT_DECIBELS
|
||||
} VolumeUnit;
|
||||
|
||||
typedef enum {
|
||||
SOURCE_NEAREST,
|
||||
SOURCE_BILINEAR
|
||||
} SourceInterpolation;
|
||||
|
||||
typedef void AudioDeviceCallback(const void* id, size_t size, const char* name, bool isDefault, void* userdata);
|
||||
|
||||
bool lovrAudioInit(const char* spatializer);
|
||||
|
|
Loading…
Reference in New Issue