Fix dynamic raylib loading on Windows (#50)

This commit is contained in:
Pavel Kulyov 2021-10-29 17:29:40 +03:00 committed by GitHub
parent 0e225958e2
commit 77239a0e96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ def raylib_library_path():
def so_name():
'''Returns the appropriate for the library on the current platform.'''
lib_filenames = {
'Windows': 'libraylib.dll',
'Windows': 'raylib.dll',
'Linux': 'libraylib.so',
'Darwin': 'libraylib.dylib',
}
@ -83,4 +83,4 @@ WHITE =( 255, 255, 255, 255 )
BLACK =( 0, 0, 0, 255 )
BLANK =( 0, 0, 0, 0 )
MAGENTA =( 255, 0, 255, 255 )
RAYWHITE =( 245, 245, 245, 255 )
RAYWHITE =( 245, 245, 245, 255 )