Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 909487 Details for
Bug 981243
SDLx::App->new() does not work on frame buffer console
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed fix
0001-Defaults-SDLx-App-video-to-0x0-at-0.patch (text/plain), 1.47 KB, created by
Petr Pisar
on 2014-06-17 09:07:09 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Petr Pisar
Created:
2014-06-17 09:07:09 UTC
Size:
1.47 KB
patch
obsolete
>From 29b2cb2365c93b66db4d8444b6d651f58d025aaa Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> >Date: Tue, 17 Jun 2014 10:20:21 +0200 >Subject: [PATCH] Defaults SDLx::App video to 0x0 at 0 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This allows SDL to use the best available graphics mode. And to use the only available mode on Linux frame buffer console. > >Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com> >--- > lib/SDLx/App.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/lib/SDLx/App.pm b/lib/SDLx/App.pm >index b5dc05c..67c556e 100644 >--- a/lib/SDLx/App.pm >+++ b/lib/SDLx/App.pm >@@ -54,9 +54,9 @@ sub new { > my $t = $options{title} || $options{t} || $0; > my $it = $options{icon_title} || $options{it} || $t; > my $ic = $options{icon} || $options{i} || ""; >- my $w = $options{width} || $options{w} || 800; >- my $h = $options{height} || $options{h} || 600; >- my $d = $options{depth} || $options{d} || 16; >+ my $w = $options{width} // $options{w} // 0; >+ my $h = $options{height} // $options{h} // 0; >+ my $d = $options{depth} // $options{d} // 0; > my $f = $options{flags} || $options{f} || SDL::Video::SDL_ANYFORMAT; > my $r = $options{red_size} || $options{r} || 5; > my $g = $options{green_size} || $options{g} || 5; >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 981243
:
768694
|
909426
|
909443
|
909484
| 909487