Skip to content

Commit ab35551

Browse files
committed
Add NEAREST_NEIGHBOR/BILINEAR/BICUBIC image interpolation constants
1 parent 2668f16 commit ab35551

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Processing.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,6 +1385,10 @@ static constexpr int DISABLE_KEY_REPEAT = 11;
13851385
static constexpr int ENABLE_KEY_REPEAT = -11;
13861386
static constexpr int DISABLE_ASYNC_SAVEFRAME = 12;
13871387
static constexpr int ENABLE_ASYNC_SAVEFRAME = -12;
1388+
// Image interpolation modes
1389+
static constexpr int NEAREST_NEIGHBOR = 0;
1390+
static constexpr int BILINEAR = 1;
1391+
static constexpr int BICUBIC = 2;
13881392

13891393
// Cursor shapes (map to GLFW)
13901394
static constexpr int ARROW = GLFW_ARROW_CURSOR;

0 commit comments

Comments
 (0)