mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
remove accidentally checked in stuff
This commit is contained in:
parent
e95e5795e5
commit
b7380ee5e9
@ -3238,6 +3238,7 @@ release_texture(TextureContext *tc) {
|
||||
}
|
||||
|
||||
// copies current display region in framebuffer to the texture
|
||||
// usually its more efficient to do SetRenderTgt
|
||||
void DXGraphicsStateGuardian::
|
||||
copy_texture(TextureContext *tc, const DisplayRegion *dr) {
|
||||
|
||||
@ -3289,9 +3290,6 @@ copy_texture(TextureContext *tc, const DisplayRegion *dr) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void DXGraphicsStateGuardian::
|
||||
copy_texture(TextureContext *tc, const DisplayRegion *dr, const RenderBuffer &rb) {
|
||||
dxgsg_cat.fatal() << "DX copy_texture unimplemented!!!";
|
||||
return;
|
||||
|
||||
set_read_buffer(rb);
|
||||
copy_texture(tc, dr);
|
||||
}
|
||||
|
@ -2960,19 +2960,6 @@ get_depth_bitwidth(void) {
|
||||
// return ddsd.ddpfPixelFormat.dwRGBBitCount;
|
||||
}
|
||||
|
||||
void wdxGraphicsWindow::
|
||||
get_framebuffer_format(PixelBuffer::Type &fb_type, PixelBuffer::Format &fb_format) {
|
||||
assert(_dxgsg!=NULL);
|
||||
|
||||
fb_type = PixelBuffer::T_unsigned_byte;
|
||||
// this is sortof incorrect, since for F_rgb5 it's really 5 bits per channel
|
||||
//would have to change a lot of texture stuff to make this correct though
|
||||
|
||||
if(IS_16BPP_DISPLAY_FORMAT(_dxgsg->scrn.PresParams.BackBufferFormat))
|
||||
fb_format = PixelBuffer::F_rgb5;
|
||||
else fb_format = PixelBuffer::F_rgb;
|
||||
}
|
||||
|
||||
// Global system parameters we want to modify during our run
|
||||
static int iMouseTrails;
|
||||
static bool bCursorShadowOn,bMouseVanish;
|
||||
|
@ -90,7 +90,6 @@ public:
|
||||
virtual bool resize(unsigned int xsize,unsigned int ysize);
|
||||
virtual unsigned int verify_window_sizes(unsigned int numsizes,unsigned int *dimen);
|
||||
virtual int get_depth_bitwidth(void);
|
||||
virtual void get_framebuffer_format(PixelBuffer::Type &fb_type, PixelBuffer::Format &fb_format);
|
||||
|
||||
protected:
|
||||
ButtonHandle lookup_key(WPARAM wparam) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user