mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
vulkan: gl: change symbols to static
Change window_proc and subclass_proc to static to avoid symbols duplication. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4246>
This commit is contained in:
parent
e88e8527ed
commit
23661f0446
2 changed files with 8 additions and 8 deletions
|
@ -26,9 +26,9 @@
|
|||
|
||||
#include "gstvkwindow_win32.h"
|
||||
|
||||
LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam,
|
||||
static LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam,
|
||||
LPARAM lParam);
|
||||
LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam,
|
||||
static LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam,
|
||||
LPARAM lParam);
|
||||
|
||||
enum
|
||||
|
@ -488,7 +488,7 @@ gst_vulkan_window_win32_show (GstVulkanWindowWin32 * window)
|
|||
|
||||
/* PRIVATE */
|
||||
|
||||
LRESULT CALLBACK
|
||||
static LRESULT CALLBACK
|
||||
window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
GstVulkanWindowWin32 *window_win32;
|
||||
|
@ -553,7 +553,7 @@ window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
return ret;
|
||||
}
|
||||
|
||||
LRESULT FAR PASCAL
|
||||
static LRESULT FAR PASCAL
|
||||
sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
WNDPROC window_parent_proc = GetProp (hWnd, "vulkan_window_parent_proc");
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
|
||||
#include "gstglwindow_win32.h"
|
||||
|
||||
LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam,
|
||||
static LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam,
|
||||
LPARAM lParam);
|
||||
LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam,
|
||||
static LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam,
|
||||
LPARAM lParam);
|
||||
|
||||
enum
|
||||
|
@ -534,7 +534,7 @@ gst_gl_window_win32_handle_mouse_event (GstGLWindow * window, UINT uMsg,
|
|||
|
||||
/* PRIVATE */
|
||||
|
||||
LRESULT CALLBACK
|
||||
static LRESULT CALLBACK
|
||||
window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
GstGLWindowWin32 *window_win32;
|
||||
|
@ -644,7 +644,7 @@ window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
return ret;
|
||||
}
|
||||
|
||||
LRESULT FAR PASCAL
|
||||
static LRESULT FAR PASCAL
|
||||
sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
WNDPROC window_parent_proc = GetProp (hWnd, "gl_window_parent_proc");
|
||||
|
|
Loading…
Reference in a new issue