Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
More of the Direct3D renderer is implemented, I'm not sure why it's n…
Browse files Browse the repository at this point in the history
…ot showing texture copies yet...
  • Loading branch information
slouken committed Jul 14, 2006
1 parent 788b19e commit 411db9c
Show file tree
Hide file tree
Showing 7 changed files with 241 additions and 85 deletions.
2 changes: 1 addition & 1 deletion include/SDL_config_win32.h
Expand Up @@ -64,7 +64,7 @@ typedef unsigned int uintptr_t;
#define SDL_HAS_64BIT_TYPE 1

/* Enabled for SDL 1.2 (binary compatibility) */
//#define HAVE_LIBC 1
//#define HAVE_LIBC 1
#ifdef HAVE_LIBC
/* Useful headers */
#define HAVE_STDIO_H 1
Expand Down
2 changes: 1 addition & 1 deletion include/SDL_stdinc.h
Expand Up @@ -416,7 +416,7 @@ extern DECLSPEC size_t SDLCALL SDL_strlen(const char *string);
#ifdef HAVE_WCSLEN
#define SDL_wcslen wcslen
#else
extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *string);
extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t * string);
#endif

#ifdef HAVE_STRLCPY
Expand Down
4 changes: 2 additions & 2 deletions src/audio/SDL_audio.c
Expand Up @@ -497,7 +497,7 @@ SDL_OpenAudio(SDL_AudioSpec * desired, SDL_AudioSpec * obtained)
if (desired->channels == 0) {
env = SDL_getenv("SDL_AUDIO_CHANNELS");
if (env) {
desired->channels = (Uint8)SDL_atoi(env);
desired->channels = (Uint8) SDL_atoi(env);
}
}
if (desired->channels == 0) {
Expand All @@ -517,7 +517,7 @@ SDL_OpenAudio(SDL_AudioSpec * desired, SDL_AudioSpec * obtained)
if (desired->samples == 0) {
env = SDL_getenv("SDL_AUDIO_SAMPLES");
if (env) {
desired->samples = (Uint16)SDL_atoi(env);
desired->samples = (Uint16) SDL_atoi(env);
}
}
if (desired->samples == 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/stdlib/SDL_string.c
Expand Up @@ -338,7 +338,7 @@ SDL_strlen(const char *string)

#ifndef HAVE_WCSLEN
size_t
SDL_wcslen(const wchar_t *string)
SDL_wcslen(const wchar_t * string)
{
size_t len = 0;
while (*string++) {
Expand Down

0 comments on commit 411db9c

Please sign in to comment.