Giter VIP home page Giter VIP logo

bszili / sdl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amigaports/sdl_old

3.0 4.0 4.0 155.37 MB

Automated mirror of https://hg.libsdl.org/SDL/

License: Other

Makefile 0.16% CMake 0.76% HTML 0.03% Shell 1.66% C 66.04% M4 1.31% Java 1.31% Batchfile 0.01% PowerShell 0.06% C++ 24.69% Objective-C 3.39% Perl 0.11% Python 0.01% Metal 0.02% JavaScript 0.09% Raku 0.19% Assembly 0.16%

sdl's Introduction

                         Simple DirectMedia Layer

                                  (SDL)

                                Version 2.0

---
https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed
to provide low level access to audio, keyboard, mouse, joystick, and graphics
hardware via OpenGL and Direct3D. It is used by video playback software,
emulators, and popular games including Valve's award winning catalog
and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting
with README.md

Enjoy!
	Sam Lantinga				([email protected])

sdl's People

Contributors

1bsyl avatar alfred-valve avatar antifinidictor avatar baines avatar bieh avatar bobbens avatar brandonschaefer avatar bszili avatar capehill avatar cgutman avatar daft-freak avatar davidludwig avatar ferzkopp avatar flibitijibibo avatar gabomdq avatar icculus avatar jimtla avatar jorgenpt avatar keestux avatar llmike avatar mkauppila avatar pendletonrc avatar philippwiesemann avatar pmandin avatar sezero avatar slime73 avatar slouken avatar sunnyps avatar urkle avatar vanfanel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sdl's Issues

OpenGL - reset texture filtering

OpenGL context recreation that reset the texture filtering to nearest

When resize window (in opengl mode or with renderer OpenGL), texture filtering change to nearest.

SDL_CreateRGBSurfaceFrom - BUG LIBRARY

Test Program :

SDL_Surface *sdl_sur = SDL_CreateRGBSurfaceFrom(icon, w, h, 32, w * 4, 0xFF0000, 0x00FF00, 0x0000FF, 0xFF000000);
if (sdl_sur == NULL) {
printf("SDL_CreateRGBSurfaceFrom failed: %s\n", SDL_GetError());
}

Result :
SDL_CreateRGBSurfaceFrom failed: Unknown pixel format

Debug tracking :
I put log into SDL_CreateRGBSurfaceFrom function

SDL_CreateRGBSurfaceFrom_REAL - bpp=32 Rmask=0x00FF0000 Gmask=0x0000FF00 Bmask=0x000000FF Amask=0x22577EE8

Amask result not good and random

I test to recompile library with add one more parameter on this function and amask working but last add parameter doesnt. Seem to be problem with library and function with 9 and more parameters.

I test SDL2.03 original from Itix and this version have same bug.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.