{"id":73788,"date":"2020-03-12T08:42:47","date_gmt":"2020-03-12T05:42:47","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/sdl-2-0-12"},"modified":"2020-03-12T08:42:47","modified_gmt":"2020-03-12T05:42:47","slug":"sdl-2-0-12","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sv\/blog\/news\/sdl-2-0-12","title":{"rendered":"SDL 2.0.12","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Den 11 mars sl\u00e4pptes den senaste versionen av SDL 2.0.12.<\/p>\n<p>SDL \u2014 en plattformsoberoende utvecklingsbibliotek f\u00f6r att s\u00e4kerst\u00e4lla l\u00e5g niv\u00e5 \u00e5tkomst till inmatningsenheter, ljudutrustning och grafikutrustning via OpenGL och Direct3D. M\u00e5nga videospelare, emulatorer och datorspel har skapats med SDL, inklusive de som erbjuds som programvara med \u00f6ppen k\u00e4llkod.<\/p>\n<p>SDL \u00e4r skrivet i C, fungerar med C++ och erbjuder bindningar till ett dussin andra programmeringsspr\u00e5k, inklusive Pascal.<\/p>\n<p>F\u00f6ljande f\u00f6rb\u00e4ttringar har inf\u00f6rts:<\/p>\n<ul>\n<li> Funktionerna SDL_GetTextureScaleMode() och SDL_SetTextureScaleMode() har lagts till f\u00f6r att justera texturens skala.\n<\/li>\n<li> Funktionen SDL_LockTextureToSurface() har lagts till, som i motsats till SDL_LockTexture() visar den l\u00e5sta delen som en SDL-yta.\n<\/li>\n<li> En ny blandningsl\u00e4ge SDL_BLENDMODE_MUL har lagts till, som kombinerar modulering och blandning.\n<\/li>\n<li> Indikationen SDL_HINT_DISPLAY_USABLE_BOUNDS har lagts till f\u00f6r att ignorera resultaten av SDL_GetDisplayUsableBounds() f\u00f6r sk\u00e4rmindex 0.\n<\/li>\n<li> Ett f\u00f6nster under fingret har lagts till f\u00f6r h\u00e4ndelsen SDL_TouchFingerEvent.\n<\/li>\n<li> Funktionerna SDL_GameControllerTypeForIndex() och SDL_GameControllerGetType() har lagts till f\u00f6r att h\u00e4mta typ av spelkontroller.\n<\/li>\n<li> Indikationen SDL_HINT_GAMECONTROLLERTYPE har lagts till f\u00f6r att ignorera automatisk detektering av kontrollertyp.\n<\/li>\n<li> Funktionerna SDL_JoystickFromPlayerIndex(), SDL_GameControllerFromPlayerIndex(), SDL_JoystickSetPlayerIndex(), SDL_GameControllerSetPlayerIndex() har lagts till f\u00f6r att best\u00e4mma och st\u00e4lla in motsvarighet mellan spelarens nummer och enheten.\n<\/li>\n<li> St\u00f6det f\u00f6r tv\u00e5 dussin olika spelkontroller har lagts till eller f\u00f6rb\u00e4ttrats.\n<\/li>\n<li> Blockeringen av vibrationsanrop f\u00f6r spelkontroller vid anv\u00e4ndning av HIDAPI-drivrutinen har \u00e5tg\u00e4rdats.\n<\/li>\n<li> En makro f\u00f6r att nollst\u00e4lla array-element SDL_zeroa() har lagts till.\n<\/li>\n<li> Funktionen SDL_HasARMSIMD() har lagts till, vilket returnerar sant om processorn st\u00f6djer ARM SIMD (ARMv6+).<\/li>\n<\/ul>\n<p>F\u00f6rb\u00e4ttringar f\u00f6r Linux:\n<\/p>\n<ul>\n<li> Indikationen SDL_HINT_VIDEO_X11_WINDOW_VISUALID har lagts till f\u00f6r att best\u00e4mma vilken typ som valts f\u00f6r nya X11-f\u00f6nster.\n<\/li>\n<li> Indikationen SDL_HINT_VIDEO_X11_FORCE_EGL har lagts till f\u00f6r att definiera om GLX eller EGL ska anv\u00e4ndas som standard f\u00f6r X11.\n<\/li>\n<\/ul>\n<p>F\u00f6rb\u00e4ttringar f\u00f6r Android:\n<\/p>\n<ul>\n<li> Funktionen SDL_GetAndroidSDKVersion() har lagts till, vilket returnerar API-niv\u00e5n f\u00f6r denna enhet.\n<\/li>\n<li> St\u00f6d f\u00f6r ljudinspelning via OpenSL-ES har lagts till.\n<\/li>\n<li> St\u00f6det f\u00f6r Bluetooth Steam-kontroller som spelkontroller har lagts till.\n<\/li>\n<li> S\u00e4llsynta appkrascher vid bakgrundsdrift eller st\u00e4ngning har \u00e5tg\u00e4rdats.\n<\/li>\n<\/ul>\n<p>K\u00e4lla: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"http:\/\/www.linux.org.ru\/news\/games\/15577181\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>11 \u043c\u0430\u0440\u0442\u0430 \u0432\u044b\u0448\u043b\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f SDL 2.0.12. SDL &#8212; \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u0432\u0432\u043e\u0434\u0430, \u0437\u0432\u0443\u043a\u043e\u0432\u043e\u043c\u0443 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044e, \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044e \u0447\u0435\u0440\u0435\u0437 OpenGL \u0438 Direct3D. \u0421 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c SDL \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0432\u0438\u0434\u0435\u043e\u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u0438, \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u044b \u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u044b\u0435 \u0438\u0433\u0440\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u041f\u041e. SDL \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 C, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 C++ \u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-73788","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.6.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"11 \u043c\u0430\u0440\u0442\u0430 \u0432\u044b\u0448\u043b\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f SDL 2.0.12.SDL - \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u0432\u0432\u043e\u0434\u0430, \u0437\u0432\u0443\u043a\u043e\u0432\u043e\u043c\u0443 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044e, \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044e \u0447\u0435\u0440\u0435\u0437.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sv\/blog\/news\/sdl-2-0-12\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.6.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"sv_SE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47SDL 2.0.12 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"11 \u043c\u0430\u0440\u0442\u0430 \u0432\u044b\u0448\u043b\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f SDL 2.0.12.SDL - \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u0432\u0432\u043e\u0434\u0430, \u0437\u0432\u0443\u043a\u043e\u0432\u043e\u043c\u0443 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044e, \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044e \u0447\u0435\u0440\u0435\u0437.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sv\/blog\/news\/sdl-2-0-12\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-03-12T05:42:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-03-12T05:42:47+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47SDL 2.0.12 | ProHoster","description":"Den 11 mars sl\u00e4pptes den senaste versionen SDL 2.0.12. SDL \u00e4r ett plattformsoberoende utvecklingsbibliotek som ger l\u00e5g niv\u00e5 \u00e5tkomst till inmatningsenheter, ljudutrustning och grafikh\u00e5rdvara.","canonical_url":"https:\/\/prohoster.info\/sv\/blog\/news\/sdl-2-0-12","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sv_SE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47SDL 2.0.12 | ProHoster","og:description":"11 \u043c\u0430\u0440\u0442\u0430 \u0432\u044b\u0448\u043b\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f SDL 2.0.12.SDL - \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u0432\u0432\u043e\u0434\u0430, \u0437\u0432\u0443\u043a\u043e\u0432\u043e\u043c\u0443 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044e, \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044e \u0447\u0435\u0440\u0435\u0437.","og:url":"https:\/\/prohoster.info\/sv\/blog\/news\/sdl-2-0-12","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-03-12T05:42:47+00:00","article:modified_time":"2020-03-12T05:42:47+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"73788","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 18:26:24","updated":"2022-09-28 17:38:30","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/73788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/comments?post=73788"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/73788\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media?parent=73788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/categories?post=73788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/tags?post=73788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}