Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

More of the Direct3D renderer is implemented, I'm not sure why it's n…

…ot showing texture copies yet...
  • Loading branch information
slouken committed Jul 14, 2006
1 parent 788b19e commit 411db9c9008866edda5952f6bb329582baa6432a
@@ -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
@@ -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
@@ -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) {
@@ -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) {
@@ -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++) {

0 comments on commit 411db9c

Please sign in to comment.