Skip to content

Commit 38da39f

Browse files
committed
Add NEAREST_NEIGHBOR/BILINEAR/BICUBIC image interpolation constants
1 parent ab35551 commit 38da39f

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
@@ -1389,6 +1389,10 @@ static constexpr int ENABLE_ASYNC_SAVEFRAME = -12;
13891389
static constexpr int NEAREST_NEIGHBOR = 0;
13901390
static constexpr int BILINEAR = 1;
13911391
static constexpr int BICUBIC = 2;
1392+
// Image interpolation modes
1393+
static constexpr int NEAREST_NEIGHBOR = 0;
1394+
static constexpr int BILINEAR = 1;
1395+
static constexpr int BICUBIC = 2;
13921396

13931397
// Cursor shapes (map to GLFW)
13941398
static constexpr int ARROW = GLFW_ARROW_CURSOR;

0 commit comments

Comments
 (0)