mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
fix(videoout): drop __stdcall from the window procedure
GCC on Linux rejects the attribute, which breaks the libs build since the F11 fullscreen change. It has no effect on x86-64 Windows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,7 @@ private:
|
||||
void removeSubclass() noexcept;
|
||||
void applyAspectRatio(void* hwnd, std::uintptr_t edge, void* rect) const;
|
||||
|
||||
static std::intptr_t __stdcall windowProc(void* hwnd, unsigned int message, std::uintptr_t wParam, std::intptr_t lParam, std::uintptr_t subclassId, std::uintptr_t referenceData);
|
||||
static std::intptr_t windowProc(void* hwnd, unsigned int message, std::uintptr_t wParam, std::intptr_t lParam, std::uintptr_t subclassId, std::uintptr_t referenceData);
|
||||
|
||||
SDL_Window* window = nullptr;
|
||||
std::uint32_t aspectWidth = 0;
|
||||
|
||||
@@ -158,7 +158,7 @@ void DisplayWindow::applyAspectRatio(void* hwnd, std::uintptr_t edge, void* rect
|
||||
#endif
|
||||
}
|
||||
|
||||
std::intptr_t __stdcall DisplayWindow::windowProc(void* hwnd, unsigned int message, std::uintptr_t wParam, std::intptr_t lParam, std::uintptr_t subclassId, std::uintptr_t referenceData) {
|
||||
std::intptr_t DisplayWindow::windowProc(void* hwnd, unsigned int message, std::uintptr_t wParam, std::intptr_t lParam, std::uintptr_t subclassId, std::uintptr_t referenceData) {
|
||||
#ifdef _WIN32
|
||||
static_cast<void>(subclassId);
|
||||
if (message == WM_SIZING) {
|
||||
|
||||
Reference in New Issue
Block a user