Skip to content

Commit 11e35b6

Browse files
committed
Correct texture filtering on integrated graphics
1 parent 0d3ab3c commit 11e35b6

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Intern/rayx-core/src/Writer/H5Writer.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#ifndef NO_H5
2-
31
#pragma once
42

53
#include <string>
@@ -12,5 +10,3 @@
1210
RAYX_API void writeH5(const RAYX::BundleHistory&, const std::string& filename, const Format& format, std::vector<std::string> elementNames,
1311
int startEventID);
1412
RAYX_API RAYX::BundleHistory raysFromH5(const std::string& filename, const Format& format, unsigned int* startEventID = nullptr);
15-
16-
#endif

Intern/rayx-ui/src/GraphicsCore/Texture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ void Texture::createSampler() {
294294
samplerInfo.addressModeU = VK_SAMPLER_ADDRESS_MODE_REPEAT;
295295
samplerInfo.addressModeV = VK_SAMPLER_ADDRESS_MODE_REPEAT;
296296
samplerInfo.addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT;
297-
samplerInfo.anisotropyEnable = VK_TRUE;
297+
samplerInfo.anisotropyEnable = VK_FALSE;
298298

299299
VkPhysicalDeviceProperties properties{};
300300
vkGetPhysicalDeviceProperties(m_Device.physicalDevice(), &properties);

0 commit comments

Comments
 (0)