Opened 15 years ago

Closed 15 years ago

#9243 closed Patch - Bug Fix (Fixed)

[PATCH] multiple copies of static data in mythrender_opengl

Reported by: Lawrence Rust <lvr@…> Owned by: markk
Priority: minor Milestone: 0.24.1
Component: MythTV - Video Playback Version: Master Head
Severity: medium Keywords: Windows DLL opengl
Cc: Ticket locked: no

Description

Both libmythtv & libmythui include mythrender_opengl.cpp. This creates a problem on Win32 systems where each dll has its own static instance data. In this case static data for singleton objects is duplicated. The attached patch removes mythrender_opengl.cpp from libmythtv which already links against libmythui.

Attachments (1)

libmyth-ogl.diff (553 bytes ) - added by Lawrence Rust <lvr@…> 15 years ago.
Remove multiple copies of mythrender_opengl.cpp

Download all attachments as: .zip

Change History (5)

by Lawrence Rust <lvr@…>, 15 years ago

Attachment: libmyth-ogl.diff added

Remove multiple copies of mythrender_opengl.cpp

comment:1 by beirdo, 15 years ago

Component: Ports - WindowsMythTV - Video Playback
Owner: changed from Nigel to markk
Status: newassigned

comment:2 by markk, 15 years ago

(In [27279]) Remove some unnecessary includes from libmythtv.pro - with thanks to Lawrence Rust.

Refs #9243

comment:3 by markk, 15 years ago

(In [27280]) Backport r27279 from trunk to release-0-24-fixes

Remove some unnecessary includes from libmythtv.pro - with thanks to Lawrence Rust.

Refs #9243

comment:4 by markk, 15 years ago

Milestone: unknown0.24.1
Resolution: Fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.