Sharper images when not scaling the image

This commit is contained in:
loki-47-6F-64
2021-09-25 19:18:43 +02:00
parent 50bd3094b4
commit fcb84132f4
3 changed files with 39 additions and 15 deletions

View File

@@ -54,7 +54,11 @@ public:
int copy(std::uint8_t *src, int height, int pitch);
cudaArray_t array;
cudaTextureObject_t texture;
struct texture {
cudaTextureObject_t point;
cudaTextureObject_t linear;
} texture;
};
class sws_t {