mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-14 07:18:13 +00:00
WinRT: removed some old debugging code from SDL_mutexP and SDL_mutexV
This commit is contained in:
@@ -65,8 +65,6 @@ extern "C"
|
|||||||
int
|
int
|
||||||
SDL_mutexP(SDL_mutex * mutex)
|
SDL_mutexP(SDL_mutex * mutex)
|
||||||
{
|
{
|
||||||
SDL_threadID threadID = SDL_ThreadID();
|
|
||||||
DWORD realThreadID = GetCurrentThreadId();
|
|
||||||
if (mutex == NULL) {
|
if (mutex == NULL) {
|
||||||
SDL_SetError("Passed a NULL mutex");
|
SDL_SetError("Passed a NULL mutex");
|
||||||
return -1;
|
return -1;
|
||||||
@@ -86,8 +84,6 @@ extern "C"
|
|||||||
int
|
int
|
||||||
SDL_mutexV(SDL_mutex * mutex)
|
SDL_mutexV(SDL_mutex * mutex)
|
||||||
{
|
{
|
||||||
SDL_threadID threadID = SDL_ThreadID();
|
|
||||||
DWORD realThreadID = GetCurrentThreadId();
|
|
||||||
if (mutex == NULL) {
|
if (mutex == NULL) {
|
||||||
SDL_SetError("Passed a NULL mutex");
|
SDL_SetError("Passed a NULL mutex");
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user